summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
authorJohn Joseph <jnjoseph@quicinc.com>2009-12-15 15:43:48 -0800
committerWink Saville <wink@google.com>2009-12-21 09:30:50 -0800
commit76d2295c8e01a21e9574adb81bdca0894a51af54 (patch)
treec378e51b6d6f9710aee41859ce6968174ce1aefe /telephony/java
parent4845ce3174c3f60e47a59b5e220c1f22e6bea730 (diff)
downloadframeworks_base-76d2295c8e01a21e9574adb81bdca0894a51af54.zip
frameworks_base-76d2295c8e01a21e9574adb81bdca0894a51af54.tar.gz
frameworks_base-76d2295c8e01a21e9574adb81bdca0894a51af54.tar.bz2
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.
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/com/android/internal/telephony/gsm/stk/StkService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/gsm/stk/StkService.java b/telephony/java/com/android/internal/telephony/gsm/stk/StkService.java
index 9268037..29ed95c 100644
--- a/telephony/java/com/android/internal/telephony/gsm/stk/StkService.java
+++ b/telephony/java/com/android/internal/telephony/gsm/stk/StkService.java
@@ -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.