MMS API cleanup (4/4)
- Hide APIs not approved by API council (b/17189780) - Change configOverrides in MMS APIs from ContentValues to Bundle to be consistent (b/17390017) - Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council review (b/17390977) b/17189780 b/17390017 b/17390977 Change-Id: Id9ae09ae4ef083186b93677ffabf5640c54aa99d
This commit is contained in:
@@ -235,7 +235,7 @@ public class MmsMessagingDemo extends Activity {
|
||||
mSendFile.delete();
|
||||
int status = R.string.mms_status_failed;
|
||||
if (code == Activity.RESULT_OK) {
|
||||
final byte[] response = intent.getByteArrayExtra(SmsManager.MMS_EXTRA_DATA);
|
||||
final byte[] response = intent.getByteArrayExtra(SmsManager.EXTRA_MMS_DATA);
|
||||
if (response != null) {
|
||||
final GenericPdu pdu = new PduParser(response).parse();
|
||||
if (pdu instanceof SendConf) {
|
||||
|
||||
Reference in New Issue
Block a user