Bug 1432598 - Do not show first-run screens during android tests; r=snorp

This commit is contained in:
Geoff Brown 2018-01-25 11:59:38 -07:00
Родитель e3a00ec24d
Коммит f9aaea1460
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1135,10 +1135,10 @@ public class BrowserApp extends GeckoApp
public void onAttachedToWindow() {
final SafeIntent intent = new SafeIntent(getIntent());
// We can't show the first run experience until Gecko has finished initialization (bug 1077583).
checkFirstrun(this, intent);
if (!IntentUtils.getIsInAutomationFromEnvironment(intent)) {
// We can't show the first run experience until Gecko has finished initialization (bug 1077583).
checkFirstrun(this, intent);
DawnHelper.conditionallyNotifyDawn(this);
}
}