Merge "Disable dragging on fullscreen tasks." into tm-qpr-dev

This commit is contained in:
Matt Sziklay
2022-08-26 15:44:55 +00:00
committed by Android (Google) Code Review

View File

@@ -199,6 +199,10 @@ public class CaptionWindowDecorViewModel implements WindowDecorViewModel<Caption
}
private void handleEventForMove(MotionEvent e) {
if (mTaskOrganizer.getRunningTaskInfo(mTaskId).getWindowingMode()
== WINDOWING_MODE_FULLSCREEN) {
return;
}
switch (e.getActionMasked()) {
case MotionEvent.ACTION_DOWN:
mDragPointerId = e.getPointerId(0);