Merge "Hide LightRevealScrim when pulsing" into sc-dev am: ee48d00b16
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14734222 Change-Id: Iba6cab0663efa044994f3096f8305a843c262c0f
This commit is contained in:
@@ -4386,6 +4386,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
|||||||
} else {
|
} else {
|
||||||
mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
|
mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
|
||||||
}
|
}
|
||||||
|
updateLightRevealScrimVisibility();
|
||||||
Trace.endSection();
|
Trace.endSection();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4818,6 +4819,11 @@ public class StatusBar extends SystemUI implements DemoMode,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mDozeServiceHost.isPulsing()) {
|
||||||
|
mLightRevealScrim.setVisibility(View.GONE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (mFeatureFlags.useNewLockscreenAnimations()
|
if (mFeatureFlags.useNewLockscreenAnimations()
|
||||||
&& (mDozeParameters.getAlwaysOn() || mDozeParameters.isQuickPickupEnabled())) {
|
&& (mDozeParameters.getAlwaysOn() || mDozeParameters.isQuickPickupEnabled())) {
|
||||||
mLightRevealScrim.setVisibility(View.VISIBLE);
|
mLightRevealScrim.setVisibility(View.VISIBLE);
|
||||||
|
|||||||
Reference in New Issue
Block a user