Merge "Don't clear the interacting bit if panel handled touch." into klp-dev

This commit is contained in:
John Spurlock
2013-11-04 18:25:09 +00:00
committed by Android (Google) Code Review

View File

@@ -113,7 +113,7 @@ public class StatusBarWindowView extends FrameLayout
handled = super.onTouchEvent(ev); handled = super.onTouchEvent(ev);
} }
final int action = ev.getAction(); 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); mService.setInteracting(StatusBarManager.WINDOW_STATUS_BAR, false);
} }
return handled; return handled;