commit | 10a6ed86eb002fce565ce27fc85447e65f42cada | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Jun 01 09:34:50 2020 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Mon Jun 01 09:39:13 2020 -0700 |
tree | d6e954c1217a2eb3f0937bac56be378c44337321 | |
parent | 291f393b17e3c24ebedfc8d828dc8b0b070b2b19 [diff] |
More logging for pause non-detection Bug: 156044202 Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NavBarToHomeTouchController.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NavBarToHomeTouchController.java index 2ae90a5..39bbfb9 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NavBarToHomeTouchController.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NavBarToHomeTouchController.java
@@ -116,7 +116,7 @@ if (TestProtocol.sDebugTracing) { Log.d(TestProtocol.PAUSE_NOT_DETECTED, "NavBarToHomeTouchController.canInterceptTouch true 2 " - + AbstractFloatingView.getTopOpenView(mLauncher)); + + AbstractFloatingView.getTopOpenView(mLauncher), new Exception()); } return true; }
diff --git a/src/com/android/launcher3/views/BaseDragLayer.java b/src/com/android/launcher3/views/BaseDragLayer.java index 6915953..c37c47c 100644 --- a/src/com/android/launcher3/views/BaseDragLayer.java +++ b/src/com/android/launcher3/views/BaseDragLayer.java
@@ -181,6 +181,11 @@ } private TouchController findControllerToHandleTouch(MotionEvent ev) { + if (TestProtocol.sDebugTracing) { + Log.d(TestProtocol.PAUSE_NOT_DETECTED, "findControllerToHandleTouch ev=" + ev + + ", isEventInLauncher=" + isEventInLauncher(ev) + + ", topOpenView=" + AbstractFloatingView.getTopOpenView(mActivity)); + } if (isEventInLauncher(ev)) { AbstractFloatingView topView = AbstractFloatingView.getTopOpenView(mActivity); if (topView != null && topView.onControllerInterceptTouchEvent(ev)) {