diff options
author | Roman Birg <roman@cyngn.com> | 2016-04-04 08:39:00 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-04-04 17:19:14 -0700 |
commit | d36cdf3a39dc0f0664198020b6cd4fbcbaea00d9 (patch) | |
tree | e285bc3e11b276ee4cb452aa4161aceba8a41cbb /src/com/android/settings/profiles | |
parent | 9282d9e14334bdfe01f9917889fd83c060a8f556 (diff) | |
download | packages_apps_Settings-d36cdf3a39dc0f0664198020b6cd4fbcbaea00d9.zip packages_apps_Settings-d36cdf3a39dc0f0664198020b6cd4fbcbaea00d9.tar.gz packages_apps_Settings-d36cdf3a39dc0f0664198020b6cd4fbcbaea00d9.tar.bz2 |
Settings: fix profiles nw selection with 1 sim in MSIM DUT
Ticket: CYNGNOS-1463
Change-Id: I2ad9436c17f0c2ecc9aea7cae7d2f6c806eb9ed7
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/SetupActionsFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/SetupActionsFragment.java b/src/com/android/settings/profiles/SetupActionsFragment.java index d1ca91b..b94632a 100644 --- a/src/com/android/settings/profiles/SetupActionsFragment.java +++ b/src/com/android/settings/profiles/SetupActionsFragment.java @@ -230,7 +230,7 @@ public class SetupActionsFragment extends SettingsPreferenceFragment final List<SubscriptionInfo> subs = SubscriptionManager.from(getContext()) .getActiveSubscriptionInfoList(); - if (subs != null && subs.size() > 1) { + if (subs != null) { for (SubscriptionInfo sub : subs) { mItems.add(generatePreferredNetworkOverrideItem(sub.getSubscriptionId())); } |