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

Commit bcb8d825 authored by Chong Zhang's avatar Chong Zhang
Browse files

Do not apply stack bounds if the window is above lockscreen

bug: 27208572
Change-Id: I4cd3af47474c93180d95a2f51ac7b52a21ddd999
parent c1a3181d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1223,6 +1223,11 @@ class WindowStateAnimator {
            return;
        }

        final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw();
        if (w == winShowWhenLocked) {
            return;
        }

        final TaskStack stack = task.mStack;
        stack.getDimBounds(mTmpStackBounds);
        // When we resize we use the big surface approach, which means we can't trust the