From d36cdf3a39dc0f0664198020b6cd4fbcbaea00d9 Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Mon, 4 Apr 2016 08:39:00 -0700 Subject: Settings: fix profiles nw selection with 1 sim in MSIM DUT Ticket: CYNGNOS-1463 Change-Id: I2ad9436c17f0c2ecc9aea7cae7d2f6c806eb9ed7 Signed-off-by: Roman Birg --- src/com/android/settings/profiles/SetupActionsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/settings/profiles') 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 subs = SubscriptionManager.from(getContext()) .getActiveSubscriptionInfoList(); - if (subs != null && subs.size() > 1) { + if (subs != null) { for (SubscriptionInfo sub : subs) { mItems.add(generatePreferredNetworkOverrideItem(sub.getSubscriptionId())); } -- cgit v1.1