Merge "Wait for notification shade to redraw on orientation change" into sc-dev
This commit is contained in:
@@ -66,10 +66,8 @@ public class FadeRotationAnimationController extends FadeAnimationController {
|
|||||||
} else {
|
} else {
|
||||||
mNavBarToken = null;
|
mNavBarToken = null;
|
||||||
}
|
}
|
||||||
// Do not fade notification shade when running fixed rotation (not frozen) because it may
|
// Collect the target windows to fade out. The display won't wait for them to unfreeze.
|
||||||
// need to animate with the launching app.
|
final WindowState notificationShade = displayPolicy.getNotificationShade();
|
||||||
final WindowState notificationShade = mFrozenTimeoutRunnable == null
|
|
||||||
? displayPolicy.getNotificationShade() : null;
|
|
||||||
displayContent.forAllWindows(w -> {
|
displayContent.forAllWindows(w -> {
|
||||||
if (w.mActivityRecord == null && w.mHasSurface && !w.mForceSeamlesslyRotate
|
if (w.mActivityRecord == null && w.mHasSurface && !w.mForceSeamlesslyRotate
|
||||||
&& !w.mIsWallpaper && !w.mIsImWindow && w != navigationBar
|
&& !w.mIsWallpaper && !w.mIsImWindow && w != navigationBar
|
||||||
|
|||||||
Reference in New Issue
Block a user