Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-01 17:27:10 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 1 deletions
@@ -116,7 +116,7 @@ public class NavBarToHomeTouchController implements TouchController,
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.PAUSE_NOT_DETECTED,
"NavBarToHomeTouchController.canInterceptTouch true 2 "
+ AbstractFloatingView.getTopOpenView(mLauncher));
+ AbstractFloatingView.getTopOpenView(mLauncher), new Exception());
}
return true;
}
@@ -181,6 +181,11 @@ public abstract class BaseDragLayer<T extends Context & ActivityContext>
}
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)) {