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:
Ye Wen
2014-09-04 15:41:13 -07:00
parent 319a20297d
commit d6ef9163ed

View File

@@ -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) {