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

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

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

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

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


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