am 8f42b4e8: Merge "Don\'t clear the interacting bit if panel handled touch." into klp-dev

* commit '8f42b4e8e475f498b3cbbe8d456902876850b1f5':
  Don't clear the interacting bit if panel handled touch.
This commit is contained in:
John Spurlock
2013-11-04 10:27:50 -08:00
committed by Android Git Automerger

View File

@@ -113,7 +113,7 @@ public class StatusBarWindowView extends FrameLayout
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;