
The ARM emulator can show ANRs for 'system' on boot, so that dialog needs to be dismissed before the Espresso tests can happen. https://android.googlesource.com/platform/frameworks/testing/+/master/uiautomator_test_libraries/src/com/android/uiautomator/common/UiWatchers.java