Adding support to add icons in the workspace for tests

Test: atest ReorderWidgets
Bug: 243440737
Change-Id: Ic656cef079be965d17ab1b58d5f73ce955c9374c
This commit is contained in:
Sebastian Franco
2022-06-13 14:38:43 -07:00
parent 2886ff0826
commit 314bbf1cba
8 changed files with 253 additions and 82 deletions

View File

@@ -319,7 +319,7 @@ public abstract class AbstractLauncherUiTest {
/**
* Adds {@param item} on the homescreen on the 0th screen
*/
protected void addItemToScreen(ItemInfo item) {
public void addItemToScreen(ItemInfo item) {
WidgetUtils.addItemToScreen(item, mTargetContext);
resetLoaderState();