Use correct format info for SMS
Use correct format to - Parse SMS delivery report. - Dump/Load SMS to/from the dump file. TODO: Update message text state during composing. Test: Manual Change-Id: I7e53bed86130484a634c9305b276e2586db31796 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This commit is contained in:
@@ -1194,7 +1194,8 @@ public class MmsUtils {
|
||||
|
||||
public static SmsMessage getSmsMessageFromDeliveryReport(final Intent intent) {
|
||||
final byte[] pdu = intent.getByteArrayExtra("pdu");
|
||||
return SmsMessage.createFromPdu(pdu);
|
||||
final String format = intent.getStringExtra("format");
|
||||
return SmsMessage.createFromPdu(pdu, format);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user