Hide LightRevealScrim when pulsing
so the scrim doesn't obscure the wallpaper Test: manual Bug: 187670193 Change-Id: Iffb78118d3069b04edb840125aacffd51c52a937
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user