summaryrefslogtreecommitdiffstats
path: root/tests/tapl
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-04-03 14:55:57 -0700
committervadimt <vadimt@google.com>2019-04-03 15:44:19 -0700
commit67d3fd574b6e69e4369b64fe5d81517c0de39abd (patch)
tree3c0a46fd1c2abe5d8364b208c50d3a3d82cf6ce4 /tests/tapl
parent1f95993e137676150ba82012ed09e26007726c65 (diff)
downloadandroid_packages_apps_Trebuchet-67d3fd574b6e69e4369b64fe5d81517c0de39abd.tar.gz
android_packages_apps_Trebuchet-67d3fd574b6e69e4369b64fe5d81517c0de39abd.tar.bz2
android_packages_apps_Trebuchet-67d3fd574b6e69e4369b64fe5d81517c0de39abd.zip
Not using unstable Messages app in tests
Change-Id: I4811621613dc950ce5d16fc621b7f546170d8037
Diffstat (limited to 'tests/tapl')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/Workspace.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/Workspace.java b/tests/tapl/com/android/launcher3/tapl/Workspace.java
index 22b556466..91443d0a0 100644
--- a/tests/tapl/com/android/launcher3/tapl/Workspace.java
+++ b/tests/tapl/com/android/launcher3/tapl/Workspace.java
@@ -50,8 +50,8 @@ public final class Workspace extends Home {
*/
@NonNull
public AllApps switchToAllApps() {
- try(LauncherInstrumentation.Closable c =
- mLauncher.addContextLayer("want to switch from workspace to all apps")) {
+ try (LauncherInstrumentation.Closable c =
+ mLauncher.addContextLayer("want to switch from workspace to all apps")) {
verifyActiveContainer();
final UiObject2 hotseat = mHotseat;
final Point start = hotseat.getVisibleCenter();
@@ -114,7 +114,7 @@ public final class Workspace extends Home {
if (!isWorkspaceScrollable(workspace)) {
dragIconToWorkspace(
mLauncher,
- getHotseatAppIcon("Messages"),
+ getHotseatAppIcon("Play Store"),
new Point(mLauncher.getDevice().getDisplayWidth(),
workspace.getVisibleBounds().centerY()),
(int) (ICON_DRAG_SPEED * mLauncher.getDisplayDensity()));