Merge "Removing instrumentation for unreproable bug" into ub-launcher3-rvc-dev
This commit is contained in:
commit
6de126f975
|
@ -265,14 +265,12 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
|
||||||
|
|
||||||
private void verifyWidgetPresent(LauncherAppWidgetProviderInfo info) {
|
private void verifyWidgetPresent(LauncherAppWidgetProviderInfo info) {
|
||||||
final Widget widget = mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT);
|
final Widget widget = mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT);
|
||||||
if (widget == null) mLauncher.dumpViewHierarchy(); // b/152645831
|
|
||||||
assertTrue("Widget is not present",
|
assertTrue("Widget is not present",
|
||||||
widget != null);
|
widget != null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void verifyPendingWidgetPresent() {
|
private void verifyPendingWidgetPresent() {
|
||||||
final Widget widget = mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT);
|
final Widget widget = mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT);
|
||||||
if (widget == null) mLauncher.dumpViewHierarchy(); // b/152645831
|
|
||||||
assertTrue("Pending widget is not present",
|
assertTrue("Pending widget is not present",
|
||||||
widget != null);
|
widget != null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue