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

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

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

* commit '39af5a78':
  Don't set up external displays from binder thread
parents fe666e84 39af5a78
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