Merge "Use correct format info for SMS"

This commit is contained in:
Treehugger Robot
2019-06-12 01:38:23 +00:00
committed by Gerrit Code Review
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);
}
/**