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

Commit a516481f authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

am 71fb32e0: am 5305fe3f: am 39af5a78: Merge "Don\'t set up external displays...

am 71fb32e0: am 5305fe3f: am 39af5a78: Merge "Don\'t set up external displays from binder thread" into klp-dev

* commit '71fb32e0':
  Don't set up external displays from binder thread
parents 9d1d899c 71fb32e0
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -617,8 +617,15 @@ public class KeyguardViewMediator {
            }
        }
        KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why);

        // This needs to run on the UI thread
        mHandler.post(new Runnable() {
            @Override
            public void run() {
                mKeyguardDisplayManager.show();
            }
        });
    }

    private void doKeyguardLaterLocked() {
        // if the screen turned off because of timeout or the user hit the power button