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

This commit is contained in:
Josh Tsuji
2020-06-11 14:31:44 +00:00
committed by Android (Google) Code Review

View File

@@ -350,7 +350,10 @@ public class BubbleExpandedView extends LinearLayout {
// ActivityView's vertical bounds. These events are part of a back gesture, and so they // 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 // should not collapse the stack (which all other touches on areas around the AV would
// do). // 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; return true;
} }