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

Commit acc651b7 authored by mattsziklay's avatar mattsziklay
Browse files

Dismiss exclusion region when task is hidden.

Previously we only dismissed gesture exclusion regions when a decor was
closed. This meant the regions persisted when hiding the task or exiting
desktop windowing, interfering with back gestures.

Fix: 368697694
Test: Manual; line up 4 app headers on the left edge of the screen. Exit
desktop and confirm back gesture still works in the previously occupied
region.
Flag: EXEMPT, bug fix

Change-Id: I27afd66108121986bbe53e5d8cf5afdb1d506627
parent dcbe9fbb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -461,6 +461,7 @@ public class DesktopModeWindowDecoration extends WindowDecoration<WindowDecorLin
            if (canEnterDesktopMode(mContext) && Flags.enableDesktopWindowingAppHandleEducation()) {
                notifyNoCaptionHandle();
            }
            mExclusionRegionListener.onExclusionRegionDismissed(mTaskInfo.taskId);
            disposeStatusBarInputLayer();
            Trace.endSection(); // DesktopModeWindowDecoration#updateRelayoutParamsAndSurfaces
            return;