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

Commit e1294d32 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "KeyguardViewMediator: Play lock screen sound sooner" into cm-11.0

parents ff1a9712 66a4f917
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1217,6 +1217,12 @@ public class KeyguardViewMediator {
                if (DEBUG) Log.d(TAG, "handleShow");
            }

            new Thread(new Runnable() {
                public void run() {
                    playSounds(true);
                }
            }).start();

            mKeyguardViewManager.show(options);
            mShowing = true;
            mKeyguardDonePending = false;
@@ -1228,9 +1234,6 @@ public class KeyguardViewMediator {
            } catch (RemoteException e) {
            }

            // Do this at the end to not slow down display of the keyguard.
            playSounds(true);

            mShowKeyguardWakeLock.release();
        }
    }