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

Commit 9fd6d393 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "CSVT: Send silence ring intent to Circuit Switched Video Telephony(CSVT)."

parents a5e93f3e 0053932b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    static public final String SYSTEM_DIALOG_REASON_RECENT_APPS = "recentapps";
    static public final String SYSTEM_DIALOG_REASON_HOME_KEY = "homekey";
    static public final String SYSTEM_DIALOG_REASON_ASSIST = "assist";
    static public final String POWER_KEYDOWN_MUTE = "org.codeaurora.PowerKeyDown.Mute";

    // Available custom actions to perform on a key press.
    // Must match values for KEY_HOME_LONG_PRESS_ACTION in:
@@ -4829,6 +4830,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                            // Otherwise, if "Power button ends call" is enabled,
                            // the Power button will hang up any current active call.
                            hungUp = telecomManager.endCall();
                        }  else {
                            mContext.sendBroadcast(new Intent(POWER_KEYDOWN_MUTE));
                        }
                    }
                    interceptPowerKeyDown(!interactive || hungUp