diff options
author | Tyler Gunn <tgunn@google.com> | 2015-01-22 16:42:51 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-01-22 16:42:52 +0000 |
commit | 6ad502310c2ada18805b678f2e8b3f3ec5b58d35 (patch) | |
tree | fa84f728924eaa244f19bc885fe69287e2fb9b38 | |
parent | 15110c789df7c1095b9586dff2d04806b10cfae3 (diff) | |
parent | 7ba84ee61ef5d4284808f77711c7843b4b94a6b8 (diff) |
Merge "Ensure sim color is shown on multi-sim devices when only one sim installed." into lmp-mr1-dev
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index dc41d416e..ce6d439d1 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -1367,8 +1367,10 @@ public class InCallPresenter implements CallList.Listener, InCallPhoneListener { if (phoneAccountHandle != null) { final TelecomManager tm = getTelecomManager(); - if (tm != null && tm.hasMultipleCallCapableAccounts()) { + if (tm != null) { final PhoneAccount account = tm.getPhoneAccount(phoneAccountHandle); + // For single-sim devices, there will be no selected highlight color, so the phone + // account will default to NO_HIGHLIGHT_COLOR. if (account != null) { highlightColor = account.getHighlightColor(); } |