commit | 253c8f9c07d9d9e8ed192cb9247cef97dc04f032 | [log] [tgz] |
---|---|---|
author | Nancy Chen <nancychen@google.com> | Tue Nov 04 12:25:49 2014 -0800 |
committer | Nancy Chen <nancychen@google.com> | Tue Nov 04 12:25:49 2014 -0800 |
tree | fb8b96ba284848de4d4b220ec9ee2091287ad15c | |
parent | 88833a1902607857d68bce69c3adf57149a37045 [diff] |
Set default color of single-SIM PhoneAccount to NO_COLOR. The default SIM of a Single-SIM phones should not have a color so that the InCallUI uses the default theme color. Bug: 18239553 Change-Id: I042918d6f4756e39339e18b4cb65ec83c09805fb
diff --git a/src/com/android/services/telephony/TelecomAccountRegistry.java b/src/com/android/services/telephony/TelecomAccountRegistry.java index ef63068..746c8bc 100644 --- a/src/com/android/services/telephony/TelecomAccountRegistry.java +++ b/src/com/android/services/telephony/TelecomAccountRegistry.java
@@ -103,7 +103,7 @@ // Populate the phone account data. int subId = mPhone.getSubId(); - int color = 0; + int color = PhoneAccount.NO_COLOR; int slotId = SubscriptionManager.INVALID_SLOT_ID; String line1Number = mTelephonyManager.getLine1NumberForSubscriber(subId); if (line1Number == null) {