From 5c4ea5b0ca2432d7e5c92813158aa3fea7469a4b Mon Sep 17 00:00:00 2001 From: Anushree Ganjam Date: Wed, 7 Aug 2024 14:07:22 -0700 Subject: [PATCH] Remove debug logs Bug: 339737008 Test: Manual Flag: TEST_ONLY Change-Id: I8177fc721f330267bc20abf6e7d587289e45477b --- src/com/android/launcher3/FastScrollRecyclerView.java | 6 ------ .../com/android/launcher3/testing/shared/TestProtocol.java | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/com/android/launcher3/FastScrollRecyclerView.java b/src/com/android/launcher3/FastScrollRecyclerView.java index 960d77a7d9..de1748b911 100644 --- a/src/com/android/launcher3/FastScrollRecyclerView.java +++ b/src/com/android/launcher3/FastScrollRecyclerView.java @@ -20,7 +20,6 @@ import static com.android.launcher3.testing.shared.TestProtocol.SCROLL_FINISHED_ import android.content.Context; import android.util.AttributeSet; -import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.accessibility.AccessibilityNodeInfo; @@ -29,7 +28,6 @@ import androidx.annotation.Nullable; import androidx.recyclerview.widget.RecyclerView; import com.android.launcher3.compat.AccessibilityManagerCompat; -import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.views.RecyclerViewFastScroller; @@ -189,10 +187,6 @@ public abstract class FastScrollRecyclerView extends RecyclerView { * Scrolls this recycler view to the top. */ public void scrollToTop() { - if (TestProtocol.sDebugTracing) { - Log.d(TestProtocol.PRIVATE_SPACE_SCROLL_FAILURE, "FastScrollRecyclerView#scrollToTop", - new Exception()); - } if (mScrollbar != null) { mScrollbar.reattachThumbToScroll(); } diff --git a/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java b/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java index dc3b3213d2..3f4a73aec6 100644 --- a/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java +++ b/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java @@ -173,8 +173,6 @@ public final class TestProtocol { public static final String TEST_DRAG_APP_ICON_TO_MULTIPLE_WORKSPACES_FAILURE = "b/326908466"; public static final String WIDGET_CONFIG_NULL_EXTRA_INTENT = "b/324419890"; public static final String OVERVIEW_SELECT_TOOLTIP_MISALIGNED = "b/332485341"; - public static final String PRIVATE_SPACE_SCROLL_FAILURE = "b/339737008"; - public static final String REQUEST_FLAG_ENABLE_GRID_ONLY_OVERVIEW = "enable-grid-only-overview"; public static final String REQUEST_FLAG_ENABLE_APP_PAIRS = "enable-app-pairs";