diff options
author | Anson Zhang <anson.zhang@sonymobile.com> | 2012-08-17 11:18:09 +0200 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@sonymobile.com> | 2013-07-30 08:54:23 +0200 |
commit | a81f07778a3400a7839564f9fc027b1548329004 (patch) | |
tree | 316ee968bdff016da55c449f3cb1d596082a7bc8 /src | |
parent | 109111fd8b6c3bacf51afb61fa5fadc8ad8fe428 (diff) | |
download | mms-a81f07778a3400a7839564f9fc027b1548329004.tar.gz |
Support MMS with empty subject
Phones fail to receive MMS messages that have empty subject.
There are operators who report this as an issue.
Change-Id: I553e4d6524638d12290d2c2f0c4640b261eeddf5
Diffstat (limited to 'src')
-rwxr-xr-x | src/java/com/google/android/mms/pdu/PduParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/google/android/mms/pdu/PduParser.java b/src/java/com/google/android/mms/pdu/PduParser.java index b42a9fd..6dabc76 100755 --- a/src/java/com/google/android/mms/pdu/PduParser.java +++ b/src/java/com/google/android/mms/pdu/PduParser.java @@ -1030,7 +1030,7 @@ public class PduParser { assert(-1 != temp); int first = temp & 0xFF; if (first == 0) { - return null; // Blank subject, bail. + return new EncodedStringValue(""); } pduDataStream.reset(); |