mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
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
This commit is contained in:
committed by
Automerger Merge Worker
commit
9479bb31f5
@@ -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