diff options
author | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-03-08 18:34:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-03-08 10:37:15 -0800 |
commit | 88b02f8a1cb9ce4b6c99617cd1ddde9a5715cddf (patch) | |
tree | 14ec7b46a5e8970ae709d0079083bcd83bcfb1e1 /src/com/android/settings/sim | |
parent | e2eea4d3c7caa485cd7ae30b5c606b9c7abac67f (diff) | |
download | packages_apps_Settings-88b02f8a1cb9ce4b6c99617cd1ddde9a5715cddf.zip packages_apps_Settings-88b02f8a1cb9ce4b6c99617cd1ddde9a5715cddf.tar.gz packages_apps_Settings-88b02f8a1cb9ce4b6c99617cd1ddde9a5715cddf.tar.bz2 |
MSIM: Fix erroneous defaults display in slot selection dialog
Initializing the index at zero was showing the first slot as the default
when none was chosen. Since that's not actually true, leave it outside
the possible range so that the radio selectors stay empty if that's the
case.
Addresses CYNGNOS-2212
Change-Id: I4a74f9c89bbf14bbe39e0d51733a1d5f92c5a1df
Diffstat (limited to 'src/com/android/settings/sim')
-rw-r--r-- | src/com/android/settings/sim/SimDialogActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/sim/SimDialogActivity.java b/src/com/android/settings/sim/SimDialogActivity.java index 2c073e6..0b73d65 100644 --- a/src/com/android/settings/sim/SimDialogActivity.java +++ b/src/com/android/settings/sim/SimDialogActivity.java @@ -238,7 +238,7 @@ public class SimDialogActivity extends Activity { } }; - int currentIndex = 0; + int currentIndex = -1; ArrayList<SubscriptionInfo> callsSubInfoList = new ArrayList<SubscriptionInfo>(); if (id == CALLS_PICK) { final TelecomManager telecomManager = TelecomManager.from(context); |