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

Commit 819df632 authored by Abhisek Devkota's avatar Abhisek Devkota Committed by Gerrit Code Review
Browse files

Merge "keyguard: fix delay lock screen sound" into cm-11.0

parents 1a4aa8f7 aa808c4e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -691,7 +691,6 @@ public class KeyguardViewMediator {

        if (timeout <= 0) {
            // Lock now
            mSuppressNextLockSound = true;
            doKeyguardLocked(null);
        } else {
            // Lock in the future
@@ -1078,8 +1077,6 @@ public class KeyguardViewMediator {
                        + sequence + ", mDelayedShowingSequence = " + mDelayedShowingSequence);
                synchronized (KeyguardViewMediator.this) {
                    if (mDelayedShowingSequence == sequence) {
                        // Don't play lockscreen SFX if the screen went off due to timeout.
                        mSuppressNextLockSound = true;
                        doKeyguardLocked(null);
                    }
                }