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

Commit 2c077916 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Bring back circle reveal from AOD

when authenticating with fingerprint

Test: manual
Bug: 190617092
Fixes: 189899442
Change-Id: I19c63195b3a564cab2b4943bb38ea427708f43b3
parent 01aedfcd
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -3521,10 +3521,10 @@ public class StatusBar extends SystemUI implements DemoMode,
    public void fadeKeyguardWhilePulsing() {
        mNotificationPanelViewController.fadeOut(0, FADE_KEYGUARD_DURATION_PULSING,
                ()-> {
                hideKeyguard();
                if (shouldShowCircleReveal()) {
                    startCircleReveal();
                }
                hideKeyguard();
                mStatusBarKeyguardViewManager.onKeyguardFadedAway();
            }).start();
    }
@@ -3882,9 +3882,7 @@ public class StatusBar extends SystemUI implements DemoMode,
        updateQsExpansionEnabled();
        mKeyguardViewMediator.setDozing(mDozing);

        if (!isDozing && shouldShowCircleReveal()) {
            startCircleReveal();
        } else if ((isDozing && mWakefulnessLifecycle.getLastSleepReason()
        if ((isDozing && mWakefulnessLifecycle.getLastSleepReason()
                == PowerManager.GO_TO_SLEEP_REASON_POWER_BUTTON)
                || (!isDozing && mWakefulnessLifecycle.getLastWakeReason()
                == PowerManager.WAKE_REASON_POWER_BUTTON)) {
@@ -4897,7 +4895,6 @@ public class StatusBar extends SystemUI implements DemoMode,
        if (mFeatureFlags.useNewLockscreenAnimations()
                && (mDozeParameters.getAlwaysOn() || mDozeParameters.isQuickPickupEnabled())) {
            mLightRevealScrim.setVisibility(View.VISIBLE);
            mLightRevealScrim.setRevealEffect(LiftReveal.INSTANCE);
        } else {
            mLightRevealScrim.setVisibility(View.GONE);
        }