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

Commit 060f485d authored by Nancy Chen's avatar Nancy Chen Committed by Android Git Automerger
Browse files

am a6984072: Merge "Remove line to allow hiding SMS response from InCallUI in...

am a6984072: Merge "Remove line to allow hiding SMS response from InCallUI in multiSIM." into lmp-mr1-dev

* commit 'a6984072':
  Remove line to allow hiding SMS response from InCallUI in multiSIM.
parents ffdc18a9 a6984072
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -462,6 +462,7 @@ public final class InCallController extends CallsManagerListenerBase {
        int state = call.getState();
        int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities());

        // If this is a single-SIM device, the "default SIM" will always be the only SIM.
        boolean isDefaultSmsAccount =
                CallsManager.getInstance().getPhoneAccountRegistrar().isUserSelectedSmsPhoneAccount(
                        call.getTargetPhoneAccount());
@@ -469,10 +470,6 @@ public final class InCallController extends CallsManagerListenerBase {
            capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT;
        }

        if (call.isRespondViaSmsCapable()) {
            capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT;
        }

        if (call.isEmergencyCall()) {
            capabilities = removeCapability(
                    capabilities, android.telecom.Call.Details.CAPABILITY_MUTE);