Fixed a bug where the notifications could get stuck animating
Notifications could get stuck in the middle of an animation when the occlusion changed. Test: launch camera, turn screen off, observe no animation when waking up Change-Id: I414b9a5f7b01db2f4e2a3198647084f5e2582e8b Fixes: 34734460
This commit is contained in:
@@ -1160,7 +1160,8 @@ public class KeyguardViewMediator extends SystemUI {
|
||||
|
||||
if (mOccluded != isOccluded) {
|
||||
mOccluded = isOccluded;
|
||||
mStatusBarKeyguardViewManager.setOccluded(isOccluded, animate);
|
||||
mStatusBarKeyguardViewManager.setOccluded(isOccluded, animate
|
||||
&& mDeviceInteractive);
|
||||
adjustStatusBarLocked();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user