Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b09b1a73 authored by Jagrut Desai's avatar Jagrut Desai Committed by Android (Google) Code Review
Browse files

Merge "Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon" into main

parents 1535867f 1c794082
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -444,6 +444,8 @@ public final class Workspace extends Home {
            Runnable expectLongClickEvents) {
        try (LauncherInstrumentation.Closable c = launcher.addContextLayer(
                "uninstalling app icon")) {

            final String appNameToUninstall = homeAppIcon.getAppName();
            dragIconToWorkspace(
                    launcher,
                    homeAppIcon,
@@ -468,7 +470,10 @@ public final class Workspace extends Home {

            try (LauncherInstrumentation.Closable c1 = launcher.addContextLayer(
                    "uninstalled app by dragging to the drop bar")) {
                return new Workspace(launcher);
                final Workspace newWorkspace = new Workspace(launcher);
                launcher.waitUntilLauncherObjectGone(
                        AppIcon.getAppIconSelector(appNameToUninstall));
                return newWorkspace;
            }
        }
    }