Removing AllApps.getObjectDeprecated()

I was planning to use it from platform tests, but managed to avoid this.

Bug: 110103162
Test: TaplTests
Change-Id: Ic7bd6afe2097d64f8baca59b74d61e2ff7ff9c76
This commit is contained in:
Vadim Tryshev 2018-08-22 13:54:55 -07:00
parent 83fcde8d08
commit 530c3cd018
1 changed files with 1 additions and 14 deletions

View File

@ -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();
}
}