Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10a6ed86 authored by Jon Miranda's avatar Jon Miranda
Browse files

More logging for pause non-detection

Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
parent 291f393b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }
+5 −0
Original line number Diff line number Diff line
@@ -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)) {