diff options
author | 2020-06-11 14:31:44 +0000 | |
---|---|---|
committer | 2020-06-11 14:31:44 +0000 | |
commit | 6097e16b38b45e36cacd2d97735cf62a18ad946a (patch) | |
tree | 93abef506a2d2993a9f4e87f96ec69036abdce96 | |
parent | 8b9bfd8d1a303aaed0fbd6b5ae9f97db9cb1c399 (diff) | |
parent | 5421eb693ef5fa0d13283ee6c2805e4d7901c7bf (diff) |
Merge "Fix manage not being dismissed by taps in the AV bounds." into rvc-dev
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java index ec875f8f0e1a..47e6645d347f 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java @@ -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; } |