summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2017-08-23 10:59:57 -0700
committer Selim Cinek <cinek@google.com> 2017-08-24 15:57:09 +0000
commit31f708c4dc0d2ee2db1bc23a16d761275ccedf8c (patch)
tree0e6a27c77f67a09d57b9bd022ab20fa8dc08c67f
parentd836c4f8a52defd9014b0eaabf8eda1e7619c14d (diff)
Fixed a bug where we weren't releasing views
When tracking with the headsuptouchhelper, views would not be released properly, since we're handing over the touch to the panel. This is now fixed. Test: drag down on heads-up, observe normal motion Change-Id: Ia9eef07c789d6d03098c2e34f86c16fdeeb93d42 Fixes: 37314754
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java
index 82e6a3562c8d..c85571c1895d 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java
@@ -111,6 +111,7 @@ public class HeadsUpTouchHelper implements Gefingerpoken {
// flicker of one frame as it's not expanded yet.
mHeadsUpManager.unpinAll();
mPanel.clearNotificationEffects();
+ endMotion();
return true;
}
break;