Merge "Add list of accounts in Phone Account Settings." into lmp-mr1-dev
diff --git a/src/com/android/services/telephony/TelecomAccountRegistry.java b/src/com/android/services/telephony/TelecomAccountRegistry.java
index 5a480a5..c5e5a41 100644
--- a/src/com/android/services/telephony/TelecomAccountRegistry.java
+++ b/src/com/android/services/telephony/TelecomAccountRegistry.java
@@ -123,8 +123,10 @@
if (record != null) {
subDisplayName = record.displayName;
slotId = record.slotId;
+
// Assign a "fake" color while the underlying Telephony stuff is refactored
- color = makeFakeColor(subId);
+ // Assign PhoneAccount.NO_COLOR to first slot so single-SIM phones are unchanged
+ color = slotId == 0? PhoneAccount.NO_COLOR : makeFakeColor(subId);
}
String slotIdString;