OSDN Git Service

Handle bad SIM message
authorTom Taylor <tomtaylor@google.com>
Thu, 22 Oct 2009 18:42:10 +0000 (11:42 -0700)
committerTom Taylor <tomtaylor@google.com>
Thu, 22 Oct 2009 20:42:46 +0000 (13:42 -0700)
commit72fac6778119e42f39e00f5b7e36b7500893f45c
treef230c6e78e5d980df3c91dc511eb2198bbdc4e35
parentfee0f5773335e42f4ffdf2d2d1c344ceee3ccb33
Handle bad SIM message

When trying to view the saved sms messages on my SIM, I ran into a null ref.
With this fix, we don't try and wrap a null message, but just skip it.
This is part one of three fixes for BC-triaged bug 2205782.

Change-Id: Ie7105dae7e3134b98681deabcc14f5db555902f3
telephony/java/android/telephony/SmsManager.java
telephony/java/android/telephony/SmsMessage.java