am d6ef9163: MMS API cleanup (4/4)
* commit 'd6ef9163ed0e7c1824ee5b6c9ff2f556ef652aa3': MMS API cleanup (4/4)
This commit is contained in:
@@ -235,7 +235,7 @@ public class MmsMessagingDemo extends Activity {
|
|||||||
mSendFile.delete();
|
mSendFile.delete();
|
||||||
int status = R.string.mms_status_failed;
|
int status = R.string.mms_status_failed;
|
||||||
if (code == Activity.RESULT_OK) {
|
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) {
|
if (response != null) {
|
||||||
final GenericPdu pdu = new PduParser(response).parse();
|
final GenericPdu pdu = new PduParser(response).parse();
|
||||||
if (pdu instanceof SendConf) {
|
if (pdu instanceof SendConf) {
|
||||||
|
|||||||
Reference in New Issue
Block a user