More logging for pause non-detection

Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
This commit is contained in:
Jon Miranda
2020-06-01 09:34:50 -07:00
parent 291f393b17
commit 10a6ed86eb
2 changed files with 6 additions and 1 deletions

View File

@@ -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)) {