diff options
Diffstat (limited to 'tests/tapl/com/android/launcher3/tapl/Workspace.java')
-rw-r--r-- | tests/tapl/com/android/launcher3/tapl/Workspace.java | 6 |
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())); |