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

Commit d8995a6f authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Revert "TAPL: Verifying activity start/stop events"" into ub-launcher3-master

parents 3be0443d 3dd64ca3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ public abstract class DelegateInputConsumer implements InputConsumer {

    protected void setActive(MotionEvent ev) {
        mState = STATE_ACTIVE;
        TestLogging.recordEvent(TestProtocol.SEQUENCE_PILFER, "pilferPointers");
        TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers");
        mInputMonitor.pilferPointers();

        // Send cancel event
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ public class DeviceLockedInputConsumer implements InputConsumer,

    private void startRecentsTransition() {
        mThresholdCrossed = true;
        TestLogging.recordEvent(TestProtocol.SEQUENCE_PILFER, "pilferPointers");
        TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers");
        mInputMonitorCompat.pilferPointers();

        Intent intent = new Intent(Intent.ACTION_MAIN)
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
        if (mInteractionHandler == null) {
            return;
        }
        TestLogging.recordEvent(TestProtocol.SEQUENCE_PILFER, "pilferPointers");
        TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers");
        mInputMonitorCompat.pilferPointers();

        mActivityInterface.closeOverlay();
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ public class OverviewInputConsumer<T extends BaseDraggingActivity>
                ActiveGestureLog.INSTANCE.addLog("startQuickstep");
            }
            if (mInputMonitor != null) {
                TestLogging.recordEvent(TestProtocol.SEQUENCE_PILFER, "pilferPointers");
                TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers");
                mInputMonitor.pilferPointers();
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class OverviewWithoutFocusInputConsumer implements InputConsumer {

    private void onInterceptTouch() {
        if (mInputMonitor != null) {
            TestLogging.recordEvent(TestProtocol.SEQUENCE_PILFER, "pilferPointers");
            TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "pilferPointers");
            mInputMonitor.pilferPointers();
        }
    }
Loading