From 530c3cd0184a9bff940325fbce90d07b0cd3ff78 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Wed, 22 Aug 2018 13:54:55 -0700 Subject: Removing AllApps.getObjectDeprecated() I was planning to use it from platform tests, but managed to avoid this. Bug: 110103162 Test: TaplTests Change-Id: Ic7bd6afe2097d64f8baca59b74d61e2ff7ff9c76 --- tests/tapl/com/android/launcher3/tapl/AllApps.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'tests/tapl/com/android/launcher3/tapl/AllApps.java') diff --git a/tests/tapl/com/android/launcher3/tapl/AllApps.java b/tests/tapl/com/android/launcher3/tapl/AllApps.java index c1eba202c..d5b2c878e 100644 --- a/tests/tapl/com/android/launcher3/tapl/AllApps.java +++ b/tests/tapl/com/android/launcher3/tapl/AllApps.java @@ -18,12 +18,11 @@ package com.android.launcher3.tapl; import static org.junit.Assert.assertTrue; +import androidx.annotation.NonNull; import androidx.test.uiautomator.BySelector; import androidx.test.uiautomator.Direction; import androidx.test.uiautomator.UiObject2; -import androidx.annotation.NonNull; - import com.android.launcher3.TestProtocol; /** @@ -135,16 +134,4 @@ public class AllApps extends LauncherInstrumentation.VisibleContainer { allAppsContainer.fling(Direction.UP, FLING_SPEED); verifyActiveContainer(); } - - /** - * Gets the UI object for AllApps. - * Used by NexusLauncherStrategy.openAllApps(). No one else should use it. - * - * @return container object. - */ - @Deprecated - @NonNull - public UiObject2 getObjectDeprecated() { - return verifyActiveContainer(); - } } -- cgit v1.2.3