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

Commit bed55898 authored by Lucas Silva's avatar Lucas Silva
Browse files

Disable notification shade close animation when occluded.

This is causing a flicker when an activity opens over keyguard. The
keyguard is occluded by the activity, so we shouldn't animate behind the
occlusion.

Bug: 242860396
Test: manually on device when opening showWhenLocked activity over the
keyguard

Change-Id: Ie57a69815bf7a9460b0f90408010535eb9b9e172
parent b2f2546b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -589,7 +589,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
    public void reset(boolean hideBouncerWhenShowing) {
        if (mShowing) {
            // Hide quick settings.
            mNotificationPanelViewController.resetViews(/* animate= */ true);
            mNotificationPanelViewController.resetViews(/* animate= */ !mOccluded);
            // Hide bouncer and quick-quick settings.
            if (mOccluded && !mDozing) {
                mCentralSurfaces.hideKeyguard();