Fix receiving class 2 SMS messages.
authorJake Hamby <jhamby@google.com>
Wed, 4 Sep 2013 22:24:08 +0000 (15:24 -0700)
committerJake Hamby <jhamby@google.com>
Wed, 4 Sep 2013 22:24:08 +0000 (15:24 -0700)
commita0d02d50aa0fd7cf1c2d9f4d811efd2e4bfb7d4a
tree1804d2edc4ef21e5d35f6f1561300fe2bbb65817
parentdd6e67fb45fa3ce0d43f8d874cd7ffaeddf0926f
Fix receiving class 2 SMS messages.

SIMRecords class was creating the wrong type of SmsMessage object
for class 2 messages, causing a ClassCastException error. Verified
that this change fixes the bug using MD8475A call box.

Bug: 9578184
Change-Id: Ia325c6b1594d625237dc0966c05f56f586bb4baf
src/java/com/android/internal/telephony/uicc/SIMRecords.java