Merge "Hide LightRevealScrim when pulsing" into sc-dev
This commit is contained in:
@@ -4386,6 +4386,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
} else {
|
||||
mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
|
||||
}
|
||||
updateLightRevealScrimVisibility();
|
||||
Trace.endSection();
|
||||
}
|
||||
|
||||
@@ -4818,6 +4819,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