From d0df1df0f53754275e591d202bc0a2e59bfa4267 Mon Sep 17 00:00:00 2001 From: Ikram Gabiyev Date: Thu, 15 Jun 2023 15:46:32 -0700 Subject: [PATCH] Add mAllowInputEvents state to the dump Add mAllowInputEvents to the PipTouchState dump. Currently mAllowInputEvents is being used to decide whether to ignore input events for resizing and dragging while resize animation is ongoing (i.e. final bounds have not bee submitted) Bug: 287528018 Bug: 286339795 Test: atest WMShellUnitTests Test: adb shell dumpsys activity service SystemUIService WMShell Change-Id: Iffb0afa09e7e907e194fe7c2d1e3b4f93cab7fde --- .../Shell/src/com/android/wm/shell/pip/phone/PipTouchState.java | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/PipTouchState.java b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/PipTouchState.java index 7f62c629c7f21..5d858fa9aa3ff 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/PipTouchState.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/PipTouchState.java @@ -410,6 +410,7 @@ public class PipTouchState { final String innerPrefix = prefix + " "; pw.println(prefix + TAG); pw.println(innerPrefix + "mAllowTouches=" + mAllowTouches); + pw.println(innerPrefix + "mAllowInputEvents=" + mAllowInputEvents); pw.println(innerPrefix + "mActivePointerId=" + mActivePointerId); pw.println(innerPrefix + "mLastTouchDisplayId=" + mLastTouchDisplayId); pw.println(innerPrefix + "mDownTouch=" + mDownTouch);