Merge "Don't clear the interacting bit if panel handled touch." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f42b4e8e4
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user