commit | 1299e0d0622840985b8b656e619134f0d2b4590b | [log] [tgz] |
---|---|---|
author | Android Build Prod User <android-build-prod@system.gserviceaccount.com> | Wed Aug 25 09:55:58 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 25 09:55:58 2021 +0000 |
tree | 5da85bf1122c92edcec6fd053e32264608fce343 | |
parent | 60d7c5ba3ad51d2d08f2689d4420aae8d5896493 [diff] | |
parent | 9479bb31f5f9026d8d487b6e1eba2b130ad625da [diff] |
Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev am: 50f928c388 am: 9479bb31f5 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670670 Change-Id: I45bb4d64f4e6c3ee6a8bd49ce4903a882d2aa4b2
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 7c73f2b..f1fe508 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -248,6 +248,8 @@ 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());