Merge "Fix AOD2 notifications not waking up the device if the screen off animation played." into sc-dev am: f1c4d4e1a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15053138 Change-Id: I9953de5cbd97462fa884c542ae9444d34abd2671
This commit is contained in:
@@ -1473,9 +1473,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
* @param why the reason for the wake up
|
||||
*/
|
||||
public void wakeUpIfDozing(long time, View where, String why) {
|
||||
if (mDozing && !(mKeyguardViewMediator.isAnimatingScreenOff()
|
||||
|| mUnlockedScreenOffAnimationController
|
||||
.isScreenOffLightRevealAnimationPlaying())) {
|
||||
if (mDozing && !mUnlockedScreenOffAnimationController.isScreenOffAnimationPlaying()) {
|
||||
mPowerManager.wakeUp(
|
||||
time, PowerManager.WAKE_REASON_GESTURE, "com.android.systemui:" + why);
|
||||
mWakeUpComingFromTouch = true;
|
||||
|
||||
Reference in New Issue
Block a user