Merge "Increase clearPackageData timeout" into main

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2024-07-16 21:52:28 +00:00
commit 78e9ef2b12
1 file changed
+1 -1
@@ -245,7 +245,7 @@ public abstract class AbstractLauncherUiTest<LAUNCHER_TYPE extends Launcher> {
Intent.ACTION_PACKAGE_RESTARTED, Intent.ACTION_PACKAGE_DATA_CLEARED);
mDevice.executeShellCommand("pm clear " + pkg);
assertTrue(pkg + " didn't restart", count.await(10, TimeUnit.SECONDS));
assertTrue(pkg + " didn't restart", count.await(20, TimeUnit.SECONDS));
mTargetContext.unregisterReceiver(broadcastReceiver);
}