diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-06 11:22:51 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-06 11:22:51 -0700 |
commit | a95fe061c77fac5565689f7b618f3d49b8326f7e (patch) | |
tree | 13ce7ee331f4e6ede4b2e7b2bda6f1b0bdd4311e /telephony | |
parent | 907a8589babf8f22df4cc5d75c232d337a2c4d3a (diff) | |
parent | 5082fd58e33aa54d760459de3368912c37864a4f (diff) | |
download | frameworks_base-a95fe061c77fac5565689f7b618f3d49b8326f7e.zip frameworks_base-a95fe061c77fac5565689f7b618f3d49b8326f7e.tar.gz frameworks_base-a95fe061c77fac5565689f7b618f3d49b8326f7e.tar.bz2 |
Merge change 6232
* changes:
frameworks/base: Update mPdu in createFromPdu
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/cdma/SmsMessage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/SmsMessage.java b/telephony/java/com/android/internal/telephony/cdma/SmsMessage.java index 3a92064..1b83e5c 100644 --- a/telephony/java/com/android/internal/telephony/cdma/SmsMessage.java +++ b/telephony/java/com/android/internal/telephony/cdma/SmsMessage.java @@ -518,6 +518,7 @@ public class SmsMessage extends SmsMessageBase { originatingAddress = addr; env.origAddress = addr; mEnvelope = env; + mPdu = pdu; parseSms(); } @@ -728,9 +729,8 @@ public class SmsMessage extends SmsMessageBase { dos.close(); /** - * TODO(cleanup) -- This is the only place where mPdu is - * defined, and this is not obviously the only place where - * it needs to be defined. It would be much nicer if + * TODO(cleanup) -- The mPdu field is managed in + * a fragile manner, and it would be much nicer if * accessing the serialized representation used a less * fragile mechanism. Maybe the getPdu method could * generate a representation if there was not yet one? |