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

Commit 4fa039df authored by Olawale Ogunwale's avatar Olawale Ogunwale Committed by Gerrit Code Review
Browse files

Merge "Layout the config-changed window if it has surface"

parents 6007d9aa f73883f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8796,7 +8796,8 @@ public class WindowManagerService extends IWindowManager.Stub
            if (!gone || !win.mHaveFrame || win.mLayoutNeeded
                    || ((win.isConfigChanged() || win.setInsetsChanged()) &&
                            ((win.mAttrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0 ||
                            win.mAppToken != null && win.mAppToken.layoutConfigChanges))
                            (win.mHasSurface && win.mAppToken != null &&
                            win.mAppToken.layoutConfigChanges)))
                    || win.mAttrs.type == TYPE_UNIVERSE_BACKGROUND) {
                if (!win.mLayoutAttached) {
                    if (initial) {