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

Commit 39af5a78 authored by Jim Miller's avatar Jim Miller Committed by Android (Google) Code Review
Browse files

Merge "Don't set up external displays from binder thread" into klp-dev

parents 4e041150 80cb9bcf
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