commit | 9479bb31f5f9026d8d487b6e1eba2b130ad625da | [log] [tgz] |
---|---|---|
author | Android Build Prod User <android-build-prod@system.gserviceaccount.com> | Wed Aug 25 09:43:59 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 25 09:43:59 2021 +0000 |
tree | 5116107a6935cbe3865fe47699e2b0ef8d8bc10e | |
parent | 95d5ea6dd299f0a07125d8aee693888f2f95ba9e [diff] | |
parent | 50f928c388055625c0f3a4041df8a5ea4a682e86 [diff] |
Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev am: 50f928c388 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670670 Change-Id: Ifc8e143cf56a9e0e8bbd8308a7d1453c67a6db2f
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());