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

Commit 79a64478 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check parent frame instead of window bounds" into main

parents 1c434c08 530d85c0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3464,7 +3464,8 @@ class Task extends TaskFragment {
            return null;
        }
        final Rect windowFrame = mainWindow.getFrame();
        if (top.getBounds().equals(windowFrame)) {
        final Rect parentFrame = mainWindow.getParentFrame();
        if (parentFrame.equals(windowFrame)) {
            return null;
        }
        return windowFrame;