Merge "More diags for missing widgets" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
707fb5daf0
@@ -275,8 +275,10 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
|
||||
}
|
||||
|
||||
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",
|
||||
mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT) != null);
|
||||
widget != null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user