Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6d9e0c4a55
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user