From 9998f473ca9667f398e9f390f59edc0a1c44dd13 Mon Sep 17 00:00:00 2001 From: PauloftheWest Date: Mon, 8 Sep 2014 11:08:41 -0700 Subject: [PATCH] Disabled SIM Cards in Settings. + Multi-SIM has been punted out from the L release. This change disables the SIM Cards UI while keeping the code base. Bug: 16808006 Change-Id: I2bd7ad430a6309f3f2241cd26ec86268aa31b699 --- src/com/android/settings/Utils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/android/settings/Utils.java b/src/com/android/settings/Utils.java index 47ff6afbb5d..b238eb94fc3 100644 --- a/src/com/android/settings/Utils.java +++ b/src/com/android/settings/Utils.java @@ -839,7 +839,9 @@ public final class Utils { final TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); - return tm.getSimCount() > 0; + // TODO: Uncomment to re-enable SimSettings. + // return tm.getSimCount() > 0; + return false; } /**