Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701607c7 authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Wait for notification shade to redraw on orientation change" into...

Merge "Wait for notification shade to redraw on orientation change" into sc-dev am: 7b4e645c am: a8fc3101

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15401463

Change-Id: I55f4531cce660644caa55ff9d1c9fc68fa4b2410
parents e686dc5e a8fc3101
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -66,10 +66,8 @@ public class FadeRotationAnimationController extends FadeAnimationController {
        } else {
            mNavBarToken = null;
        }
        // Do not fade notification shade when running fixed rotation (not frozen) because it may
        // need to animate with the launching app.
        final WindowState notificationShade = mFrozenTimeoutRunnable == null
                ? displayPolicy.getNotificationShade() : null;
        // Collect the target windows to fade out. The display won't wait for them to unfreeze.
        final WindowState notificationShade = displayPolicy.getNotificationShade();
        displayContent.forAllWindows(w -> {
            if (w.mActivityRecord == null && w.mHasSurface && !w.mForceSeamlesslyRotate
                    && !w.mIsWallpaper && !w.mIsImWindow && w != navigationBar