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

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

Merge "SystemUI: Fix the unlock sound played repeatedly"

parents f2f51ccb f6d41d27
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -1497,8 +1497,10 @@ public class KeyguardViewMediator extends SystemUI {
            // only play "unlock" noises if not on a call (since the incall UI
            // only play "unlock" noises if not on a call (since the incall UI
            // disables the keyguard)
            // disables the keyguard)
            if (TelephonyManager.EXTRA_STATE_IDLE.equals(mPhoneState)) {
            if (TelephonyManager.EXTRA_STATE_IDLE.equals(mPhoneState)) {
                if (mShowing && mDeviceInteractive) {
                    playSounds(false);
                    playSounds(false);
                }
                }
            }


            setShowingLocked(false);
            setShowingLocked(false);
            mStatusBarKeyguardViewManager.hide(startTime, fadeoutDuration);
            mStatusBarKeyguardViewManager.hide(startTime, fadeoutDuration);