Merge "Allow screen rotation animation when entering AOD" into sc-dev am: 5959d504be am: e77cd58881
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14467779 Change-Id: Ifa6aba8047db3c50ad18b66c7acf9600c51dd679
This commit is contained in:
@@ -4501,7 +4501,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
|
||||
@Override
|
||||
public boolean okToAnimate(boolean ignoreScreenOn) {
|
||||
return (ignoreScreenOn || mDefaultDisplayPolicy.isAwake()) && !mDeviceGoingToSleep;
|
||||
return (ignoreScreenOn || isScreenOn()) && !mDeviceGoingToSleep;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
||||
Reference in New Issue
Block a user