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

Commit bcef6286 authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
Browse files

Merge "Fix manage not being dismissed by taps in the AV bounds." into rvc-dev...

Merge "Fix manage not being dismissed by taps in the AV bounds." into rvc-dev am: 6097e16b am: 8c1d93fd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11827747

Change-Id: I289b1bebeecdd7e0708f3943b7a636215519fa33
parents 730aceea 8c1d93fd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -350,7 +350,10 @@ public class BubbleExpandedView extends LinearLayout {
            // ActivityView's vertical bounds. These events are part of a back gesture, and so they
            // should not collapse the stack (which all other touches on areas around the AV would
            // do).
            if (motionEvent.getRawY() >= avBounds.top && motionEvent.getRawY() <= avBounds.bottom) {
            if (motionEvent.getRawY() >= avBounds.top
                            && motionEvent.getRawY() <= avBounds.bottom
                            && (motionEvent.getRawX() < avBounds.left
                                || motionEvent.getRawX() > avBounds.right)) {
                return true;
            }