commit | 44977c0a7e1db4684fde5973d021162be2b19892 | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Fri Jul 26 15:11:03 2019 -0700 |
committer | Mady Mellor <madym@google.com> | Fri Jul 26 15:15:53 2019 -0700 |
tree | fd46f0f45359c1d04f95719d1b750ba58d5bbc34 | |
parent | 67798fc38564eac67e4ef48952fa96769a3a4301 [diff] |
Make dismiss layout invisible rather than gone Test: manual 1) have a stack of bubbles, fling to dismiss them 2) add another bubble 3) expand the stack 4) tap on the bubble while stack is expanded => it shouldn't fly off the top of the screen Fixes: 138445026 Change-Id: If09ba2a9f4ce4e5a5441ebea7c2801a68dfe3d59
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleDismissView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleDismissView.java index 3ae2b741..9db371e 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleDismissView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleDismissView.java
@@ -81,7 +81,7 @@ // safely assume it was animating out rather than in. if (alpha < 0.5f) { // If the alpha spring was animating the view out, set it to GONE when it's done. - setVisibility(GONE); + setVisibility(INVISIBLE); } }); }