Waiting for Launcher to settle after enabling test provider
I suspect that something happens in Launcher after enabling the provider that causes "mismatched event sequence" errors. This CL is to verify that. Bug: 195031154 Test: presubmit Change-Id: Ic22df5fa631b287b580f0aaf00c84cd408cb60b0
This commit is contained in:
1 parent
89d3f7d12a
commit
67a11ff6a5
1 file changed
+2
@@ -248,6 +248,8 @@ public final class LauncherInstrumentation {
|
||||
if (pm.getComponentEnabledSetting(cn) != COMPONENT_ENABLED_STATE_ENABLED) {
|
||||
if (TestHelpers.isInLauncherProcess()) {
|
||||
pm.setComponentEnabledSetting(cn, COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP);
|
||||
// b/195031154
|
||||
SystemClock.sleep(5000);
|
||||
} else {
|
||||
try {
|
||||
final int userId = ContextUtils.getUserId(getContext());
|
||||
|
||||
Reference in new issue
Block a user