From 76d2295c8e01a21e9574adb81bdca0894a51af54 Mon Sep 17 00:00:00 2001 From: John Joseph Date: Tue, 15 Dec 2009 15:43:48 -0800 Subject: 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. --- telephony/java/com/android/internal/telephony/gsm/stk/StkService.java | 3 +-- 1 file changed, 1 insertion(+), 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. -- cgit v1.1