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

Commit e45e39da authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Hide LightRevealScrim when pulsing

so the scrim doesn't obscure the wallpaper

Test: manual
Bug: 187670193
Change-Id: Iffb78118d3069b04edb840125aacffd51c52a937
parent 3188bdda
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4380,6 +4380,7 @@ public class StatusBar extends SystemUI implements DemoMode,
        } else {
            mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
        }
        updateLightRevealScrimVisibility();
        Trace.endSection();
    }

@@ -4812,6 +4813,11 @@ public class StatusBar extends SystemUI implements DemoMode,
            return;
        }

        if (mDozeServiceHost.isPulsing()) {
            mLightRevealScrim.setVisibility(View.GONE);
            return;
        }

        if (mFeatureFlags.useNewLockscreenAnimations()
                && (mDozeParameters.getAlwaysOn() || mDozeParameters.isQuickPickupEnabled())) {
            mLightRevealScrim.setVisibility(View.VISIBLE);