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

Commit 6aa21d5f authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Flag-guard an additional call to SBVM#hide.

When the flag is enabled, all SBVM show/hide calls
should be from collectFlow, I just missed this one.

Bug: 278086361
Test: mash power while unlocking
Change-Id: Idf0e13a6493212334873df9d2e12768fb637bcf8
parent 63877fa3
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2947,9 +2947,12 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
            } else {
                Log.d(TAG, "Hiding keyguard while occluded. Just hide the keyguard view and exit.");

                if (!mFeatureFlags.isEnabled(Flags.KEYGUARD_WM_STATE_REFACTOR)) {
                    mKeyguardViewControllerLazy.get().hide(
                            mSystemClock.uptimeMillis() + mHideAnimation.getStartOffset(),
                            mHideAnimation.getDuration());
                }

                onKeyguardExitFinished();
            }