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

Commit a6e408ce authored by wilsonshih's avatar wilsonshih
Browse files

Fix pip window doesn't shift with ime and shelf.

Correct a wrong check condition, Pinned stack boundary should not be
empty.

Fix: 124377701
Test: atest ActivityManagerPinnedStackTests ActivityManagerAppConfigurationTests
Change-Id: If2eb801515b4f9c1c080939d017f99fb131ddaf8
parent 1cdbfae1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2467,7 +2467,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                }
                final Rect destBounds = new Rect();
                stack.getAnimationOrCurrentBounds(destBounds);
                if (!destBounds.isEmpty() || !destBounds.equals(compareBounds)) {
                if (destBounds.isEmpty() || !destBounds.equals(compareBounds)) {
                    Slog.w(TAG, "The current stack bounds does not matched! It may be obsolete.");
                    return;
                }