Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −1 Original line number Diff line number Diff line Loading @@ -3639,6 +3639,7 @@ public class StatusBar extends SystemUI implements DemoMode, @Override public void onStartedGoingToSleep() { updateNotificationPanelTouchState(); notifyHeadsUpGoingToSleep(); dismissVolumeDialog(); } Loading Loading @@ -3671,7 +3672,10 @@ public class StatusBar extends SystemUI implements DemoMode, * Keyguard. */ private void updateNotificationPanelTouchState() { mNotificationPanel.setTouchAndAnimationDisabled(!mDeviceInteractive && !mPulsing); boolean goingToSleepWithoutAnimation = isGoingToSleep() && !DozeParameters.getInstance(mContext).shouldControlScreenOff(); mNotificationPanel.setTouchAndAnimationDisabled((!mDeviceInteractive && !mPulsing) || goingToSleepWithoutAnimation); } final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −1 Original line number Diff line number Diff line Loading @@ -3639,6 +3639,7 @@ public class StatusBar extends SystemUI implements DemoMode, @Override public void onStartedGoingToSleep() { updateNotificationPanelTouchState(); notifyHeadsUpGoingToSleep(); dismissVolumeDialog(); } Loading Loading @@ -3671,7 +3672,10 @@ public class StatusBar extends SystemUI implements DemoMode, * Keyguard. */ private void updateNotificationPanelTouchState() { mNotificationPanel.setTouchAndAnimationDisabled(!mDeviceInteractive && !mPulsing); boolean goingToSleepWithoutAnimation = isGoingToSleep() && !DozeParameters.getInstance(mContext).shouldControlScreenOff(); mNotificationPanel.setTouchAndAnimationDisabled((!mDeviceInteractive && !mPulsing) || goingToSleepWithoutAnimation); } final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() { Loading