From 26867ae4d6ffebf9538ec468f4b46736b9e0f3be Mon Sep 17 00:00:00 2001 From: mattsziklay Date: Wed, 24 Aug 2022 12:06:09 -0700 Subject: [PATCH] Disable dragging on fullscreen tasks. This CL prevents dragging fullscreen tasks via caption. Bug: 243683959 Test: Attempt to drag a fullscreen task, ensure dragging non-maximized captions is unaffected. Change-Id: I297f2e8b6d69aba29061ae008d9d51df03ae134c --- .../wm/shell/windowdecor/CaptionWindowDecorViewModel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/CaptionWindowDecorViewModel.java b/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/CaptionWindowDecorViewModel.java index e7695926d2446..ad539568e3eba 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/CaptionWindowDecorViewModel.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/CaptionWindowDecorViewModel.java @@ -199,6 +199,10 @@ public class CaptionWindowDecorViewModel implements WindowDecorViewModel