ApiDemos has been using private APIs from telephony-common to demonstrate the Mms feature. However, this is causing link-type check warning because ApiDemos itself is built with SDK (LOCAL_SDK_VERSION is set) but telephony-common isn't. As we are working on to promote the warnings into errors, this warnings must be fixed. Fixing the warning by copying the PDU classes from telephony-common, so that there is no need to link to the library. Also the package name for the copied classes are all changed in order to prevent the collision with the same classes in telephony-common which is in the boot class path. Test: m -j ApiDemos is successful and does not show any link-type check warning. Change-Id: Ica508cd4daf3640e4f90fa26dd11dfd03867d717
Adding a new folder in development/samples is not enough to have it be packaged with the SDK. Make sure to edit development/build/sdk.atree to add the sample to the SDK build.