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

Commit e5f4b42c authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Merge "Fixed logic error when calculating window touch exclude region." into nyc-dev am: 8eb29015

am: 138939f5

* commit '138939f5':
  Fixed logic error when calculating window touch exclude region.

Change-Id: I242c967b5750b6c3af6e668d74f181b9de15cecf
parents 2864c9a7 138939f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -378,6 +378,8 @@ class DisplayContent {
                 * We save the focused task region once we find it, and add it back at the end.
                 */

                task.getDimBounds(mTmpRect);

                if (task == focusedTask) {
                    addBackFocusedTask = true;
                    mTmpRect2.set(mTmpRect);
@@ -385,7 +387,6 @@ class DisplayContent {

                final boolean isFreeformed = task.inFreeformWorkspace();
                if (task != focusedTask || isFreeformed) {
                    task.getDimBounds(mTmpRect);
                    if (isFreeformed) {
                        // If the task is freeformed, enlarge the area to account for outside
                        // touch area for resize.