SIM toolkit: Phone app crashes while reading SIM card

Incorrect log message results in an IllegalFormatConversionException
when trying to print SIMRecords Object as an integer.
This commit is contained in:
John Joseph
2009-12-15 15:43:48 -08:00
committed by Wink Saville
parent 4845ce3174
commit 76d2295c8e

View File

@@ -467,8 +467,7 @@ public class StkService extends Handler implements AppInterface {
sInstance = new StkService(ci, sr, context, fh, sc);
StkLog.d(sInstance, "NEW sInstance");
} else if ((sr != null) && (mSimRecords != sr)) {
StkLog.d(sInstance, String.format(
"Reinitialize the Service with SIMRecords sr=0x%x.", sr));
StkLog.d(sInstance, "Reinitialize the Service with SIMRecords");
mSimRecords = sr;
// re-Register for SIM ready event.