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

Commit 2e36647b authored by yueg's avatar yueg Committed by Copybara-Service
Browse files

Don't start emergency call in background calling mode.

Bug: 74022483
Test: InCallPresenterTest
PiperOrigin-RevId: 194877539
Change-Id: If140d716a8019738e145c24cbaab3c03827662cb
parent a067300d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -427,6 +427,9 @@ public class InCallPresenter implements CallList.Listener, AudioModeProvider.Aud
    if (dialerCall == null) {
      return false;
    }
    if (dialerCall.isEmergencyCall()) {
      return false;
    }

    Bundle extras = dialerCall.getIntentExtras();
    boolean result = shouldStartInBubbleModeWithExtras(extras);