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

Commit 927d854f authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev

parents 704269ec e7c28572
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ interface IWindowManager
    /**
     * Called by the status bar to notify Views of changes to System UI visiblity.
     */
    void statusBarVisibilityChanged(int visibility);
    oneway void statusBarVisibilityChanged(int visibility);

    /**
     * Block until the given window has been drawn to the screen.
+5 −0
Original line number Diff line number Diff line
@@ -68,6 +68,8 @@ public class KeyguardService extends Service {
    }

    private final IKeyguardService.Stub mBinder = new IKeyguardService.Stub() {
        private boolean mSetHiddenCalled;
        private boolean mIsHidden;
        public boolean isShowing() {
            return mKeyguardViewMediator.isShowing();
        }
@@ -89,7 +91,10 @@ public class KeyguardService extends Service {
        }
        public void setHidden(boolean isHidden) {
            checkPermission();
            if (mSetHiddenCalled && mIsHidden == isHidden) return;
            mKeyguardViewMediator.setHidden(isHidden);
            mSetHiddenCalled = true;
            mIsHidden = isHidden;
        }
        public void dismiss() {
            mKeyguardViewMediator.dismiss();