mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Revert "Refactors Search results into separate RV for Toast."
This reverts commit 6729f0b950.
Reason for revert: This change caused b/230648542.
Please see https://b.corp.google.com/issues/230648542#comment5 for the video after reverting this change.
Bug: 206905515
Bug: 230648542
Change-Id: I85f063c56cad137c05b810204244bba7e8f94ee7
This commit is contained in:
@@ -134,8 +134,8 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
|
||||
executeOnLauncher(l -> {
|
||||
ActivityAllAppsContainerView<?> allApps = l.getAppsView();
|
||||
assertEquals("Work tab is not focused", allApps.getCurrentPage(), WORK_PAGE);
|
||||
View workPausedCard = allApps.getActiveAppsRecyclerView()
|
||||
.findViewHolderForAdapterPosition(0).itemView;
|
||||
View workPausedCard = allApps.getActiveRecyclerView().findViewHolderForAdapterPosition(
|
||||
0).itemView;
|
||||
workPausedCard.findViewById(R.id.enable_work_apps).performClick();
|
||||
});
|
||||
waitForLauncherCondition("Work profile toggle ON failed", launcher -> {
|
||||
@@ -155,7 +155,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
|
||||
});
|
||||
|
||||
waitForLauncherCondition("Work profile education not shown",
|
||||
l -> l.getAppsView().getActiveAppsRecyclerView()
|
||||
l -> l.getAppsView().getActiveRecyclerView()
|
||||
.findViewHolderForAdapterPosition(0).itemView instanceof WorkEduCard,
|
||||
LauncherInstrumentation.WAIT_TIME_MS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user