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

Commit a6984072 authored by Nancy Chen's avatar Nancy Chen Committed by Android (Google) Code Review
Browse files

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

parents 2808bb0a 79d646f9
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);