From 31f708c4dc0d2ee2db1bc23a16d761275ccedf8c Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Wed, 23 Aug 2017 10:59:57 -0700 Subject: 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 --- .../src/com/android/systemui/statusbar/phone/HeadsUpTouchHelper.java | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-59-g8ed1b