Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06d2d8f0 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android Git Automerger
Browse files

am a1c9ef02: Merge "Ensure sim color is shown on multi-sim devices when only...

am a1c9ef02: Merge "Ensure sim color is shown on multi-sim devices when only one sim installed." into lmp-mr1-dev

* commit 'a1c9ef02e2e8122e283f187d89ca5032082464d7':
  Ensure sim color is shown on multi-sim devices when only one sim installed.
parents da741db0 6ad50231
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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();
                }