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:
Taesu Lee
2019-03-21 13:23:40 +09:00
parent bada9f9b46
commit 4708388210
3 changed files with 10 additions and 4 deletions

View File

@@ -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);
}
/**