From 65d62c774e42d8bf9a55ef50e153ffc9e277ef37 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Tue, 1 Sep 2009 15:39:08 -0700 Subject: [PATCH] Add hasIccCard to IccCard and TelephonyManager. Expose the presence/absence of IccCards in the system. This is needed to fix bug 2033811 which needs to show some SIM menus in the Mms app and Contact apps only if there is a SIM and on CDMA there is no sims yet. The current implementation assumes CDMA never has an IccCard this is true at the moment but needs to change. Change-Id: I4167368e364623ea68e9b2778556e6d730b1e715 --- api/current.xml | 11 +++++++++++ .../java/android/telephony/TelephonyManager.java | 7 +++++++ .../com/android/internal/telephony/IccCard.java | 13 +++++++++++++ 3 files changed, 31 insertions(+) diff --git a/api/current.xml b/api/current.xml index 46dfd89202907..8fad21363f8fe 100644 --- a/api/current.xml +++ b/api/current.xml @@ -117394,6 +117394,17 @@ visibility="public" > + +