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

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

Merge "Removing tracing for a fixed bug." into ub-launcher3-qt-r1-dev

parents 36ca57e9 2af71dd0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -515,9 +515,6 @@ public class TouchInteractionService extends Service implements
    }

    private void onInputEvent(InputEvent ev) {
        if (TestProtocol.sDebugTracing) {
            Log.d(TestProtocol.EVENTS_TO_OVERVIEW_MISSING_TAG, "onInputEvent " + ev);
        }
        if (!(ev instanceof MotionEvent)) {
            Log.e(TAG, "Unknown event " + ev);
            return;
+0 −3
Original line number Diff line number Diff line
@@ -82,9 +82,6 @@ public class OverviewInputConsumer<T extends BaseDraggingActivity>

    @Override
    public void onMotionEvent(MotionEvent ev) {
        if (TestProtocol.sDebugTracing) {
            Log.d(TestProtocol.EVENTS_TO_OVERVIEW_MISSING_TAG, "onMotionEvent " + ev);
        }
        if (!mProxyTouch) {
            return;
        }
+0 −5
Original line number Diff line number Diff line
@@ -429,11 +429,6 @@ public class LauncherStateManager {
        // Only change the stable states after the transitions have finished
        if (state != mCurrentStableState) {
            mLastStableState = state.getHistoryForState(mCurrentStableState);
            if (TestProtocol.sDebugTracing) {
                Log.d(TestProtocol.NO_ALLAPPS_EVENT_TAG,
                        "mCurrentStableState = " + state.getClass().getSimpleName() + " @ " +
                                android.util.Log.getStackTraceString(new Throwable()));
            }
            mCurrentStableState = state;
        }

+0 −4
Original line number Diff line number Diff line
@@ -168,10 +168,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
    @Override
    public void setStateWithAnimation(LauncherState toState,
            AnimatorSetBuilder builder, AnimationConfig config) {
        if (TestProtocol.sDebugTracing) {
            Log.d(TestProtocol.NO_ALLAPPS_EVENT_TAG,
                    "setStateWithAnimation " + toState.getClass().getSimpleName());
        }
        float targetProgress = toState.getVerticalProgress(mLauncher);
        if (Float.compare(mProgress, targetProgress) == 0) {
            setAlphas(toState, config, builder);
+0 −3
Original line number Diff line number Diff line
@@ -53,9 +53,6 @@ public class AccessibilityManagerCompat {
    }

    public static void sendStateEventToTest(Context context, int stateOrdinal) {
        if (com.android.launcher3.testing.TestProtocol.sDebugTracing) {
            android.util.Log.e(TestProtocol.NO_ALLAPPS_EVENT_TAG, "sendStateEventToTest");
        }
        final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context);
        if (accessibilityManager == null) return;

Loading