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

Commit aa808c4e authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

keyguard: fix delay lock screen sound

Change-Id: Ia4cd2c856df1573856386e1597dcc0a9600d25a5
JIRA: CYAN-3362
Issue: https://jira.cyanogenmod.org/browse/CYAN-3362


Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 07e92e4f
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);
                    }
                }