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

Commit 07f1a6ce authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 78db8500: am 2c37f7b4: Merge "Synchronize access to Locked methods. DO NOT...

am 78db8500: am 2c37f7b4: Merge "Synchronize access to Locked methods. DO NOT MERGE" into jb-mr1.1-dev

* commit '78db8500':
  Synchronize access to Locked methods. DO NOT MERGE
parents 4856186d 78db8500
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
@@ -129,6 +129,10 @@ public class KeyguardViewManager {
        @Override
        protected void onConfigurationChanged(Configuration newConfig) {
            super.onConfigurationChanged(newConfig);
            post(new Runnable() {
                @Override
                public void run() {
                    synchronized (KeyguardViewManager.this) {
                        if (mKeyguardHost.getVisibility() == View.VISIBLE) {
                            // only propagate configuration messages if we're currently showing
                            maybeCreateKeyguardLocked(shouldEnableScreenRotation(), true, null);
@@ -136,6 +140,9 @@ public class KeyguardViewManager {
                            if (DEBUG) Log.v(TAG, "onConfigurationChanged: view not visible");
                        }
                    }
                }
            });
        }

        @Override
        public boolean dispatchKeyEvent(KeyEvent event) {