Show connection managers if any are present
If there are any connection managers present, show the selector so
that the user can choose it even if there is just one.
Bug: 17179743
Change-Id: I73ea709b176e746e428e6d9c38c155a6550be79c
diff --git a/src/com/android/phone/CallFeaturesSetting.java b/src/com/android/phone/CallFeaturesSetting.java
index 6324eae..88de152 100644
--- a/src/com/android/phone/CallFeaturesSetting.java
+++ b/src/com/android/phone/CallFeaturesSetting.java
@@ -1681,7 +1681,7 @@
}
List<PhoneAccountHandle> simCallManagers = telecommManager.getSimCallManagers();
- if (simCallManagers.size() > 1) {
+ if (!simCallManagers.isEmpty()) {
mSimCallManagerAccount.setModel(
telecommManager,
simCallManagers,