From d798e6d1f9ec275b9131ba521dce7191e8cee990 Mon Sep 17 00:00:00 2001 From: Andrew Cole Date: Mon, 15 Jul 2024 11:57:47 -0700 Subject: [PATCH] Test Week - Deleting NexusTestInformationHandler NexusTestInformationHandler only relied on one boolean switch that is not currently used so I am deleting it. Bug: 353303621 Test: TAPL Flag: TEST_ONLY Change-Id: I6181d47561b318d1eb1bd632d4ae042e126cfdb9 --- .../com/android/launcher3/testing/shared/TestProtocol.java | 1 - .../com/android/launcher3/tapl/LauncherInstrumentation.java | 4 ---- 2 files changed, 5 deletions(-) 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 59d0de69ee..4f211f6394 100644 --- a/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java +++ b/tests/multivalentTests/shared/com/android/launcher3/testing/shared/TestProtocol.java @@ -157,7 +157,6 @@ public final class TestProtocol { "get-overview-current-page-index"; public static final String REQUEST_GET_SPLIT_SELECTION_ACTIVE = "get-split-selection-active"; public static final String REQUEST_ENABLE_ROTATION = "enable_rotation"; - public static final String REQUEST_ENABLE_SUGGESTION = "enable-suggestion"; public static final String REQUEST_MODEL_QUEUE_CLEARED = "model-queue-cleared"; public static boolean sDebugTracing = false; diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index f02a0c2296..12babad01e 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -455,10 +455,6 @@ public final class LauncherInstrumentation { getTestInfo(TestProtocol.REQUEST_ENABLE_ROTATION, Boolean.toString(on)); } - public void setEnableSuggestion(boolean enableSuggestion) { - getTestInfo(TestProtocol.REQUEST_ENABLE_SUGGESTION, Boolean.toString(enableSuggestion)); - } - public boolean hadNontestEvents() { return getTestInfo(TestProtocol.REQUEST_GET_HAD_NONTEST_EVENTS) .getBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD);