commit | d157ca049abd8e6761aab7b50431343869ec831a | [log] [tgz] |
---|---|---|
author | John Spurlock <jspurlock@google.com> | Mon Nov 04 10:28:05 2013 -0500 |
committer | John Spurlock <jspurlock@google.com> | Mon Nov 04 10:30:39 2013 -0500 |
tree | 162b832da828a0982761bb9195de525370c3d64d | |
parent | 3e7495b26058d1442c4ed4960818399728e6bc31 [diff] [blame] |
Don't clear the interacting bit if panel handled touch. Bug:11489729 Change-Id: Ie225cf9ff27f1490643ba4b1c02aa09896bd6724
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java index e77b420..4901823 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
@@ -113,7 +113,7 @@ handled = super.onTouchEvent(ev); } final int action = ev.getAction(); - if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + if (!handled && (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL)) { mService.setInteracting(StatusBarManager.WINDOW_STATUS_BAR, false); } return handled;