Merge "Removing instrumentation for unreproable bug" into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot 2020-06-05 23:44:35 +00:00 committed by Android (Google) Code Review
commit 6de126f975
1 changed files with 0 additions and 2 deletions

View File

@ -265,14 +265,12 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
private void verifyWidgetPresent(LauncherAppWidgetProviderInfo info) {
final Widget widget = mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT);
if (widget == null) mLauncher.dumpViewHierarchy(); // b/152645831
assertTrue("Widget is not present",
widget != null);
}
private void verifyPendingWidgetPresent() {
final Widget widget = mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT);
if (widget == null) mLauncher.dumpViewHierarchy(); // b/152645831
assertTrue("Pending widget is not present",
widget != null);
}