mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
Improvements in getting workspace app icon
Bug: 138743792 Change-Id: I11981774397b82bdad0352343a52341c2e3a5099
This commit is contained in:
@@ -190,7 +190,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
launcher -> assertTrue("ensureScrollable didn't make workspace scrollable",
|
||||
isWorkspaceScrollable(launcher)));
|
||||
assertNotNull("ensureScrollable didn't add Chrome app",
|
||||
workspace.tryGetWorkspaceAppIcon("Chrome"));
|
||||
workspace.getWorkspaceAppIcon("Chrome"));
|
||||
|
||||
// Test flinging workspace.
|
||||
workspace.flingBackward();
|
||||
@@ -206,7 +206,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL));
|
||||
|
||||
// Test starting a workspace app.
|
||||
final AppIcon app = workspace.tryGetWorkspaceAppIcon("Chrome");
|
||||
final AppIcon app = workspace.getWorkspaceAppIcon("Chrome");
|
||||
assertNotNull("No Chrome app in workspace", app);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user