mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Merge "Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon" into main
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user