Add logs for PackageUpdatedTask

* That's the bit that updates new packages for work profile,
at least from command line.
* There is variability in how long it could take work profile
apps to show up, from 2-8 seconds.

Bug: 243688989
Change-Id: I710befc5f17b4a16bff523eb03f1e88975cafd43
This commit is contained in:
Vinit Nayak committed 2023-04-26 13:21:57 -07:00
1 parent a6a0867b65
commit 6106ae9ac7
3 files changed
+18 -2

No files matched your search

@@ -105,6 +105,8 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
}
private void waitForWorkTabSetup() {
// Added for b/243688989 flake to determine if we really are in allApps or not at this point
mLauncher.getAllApps();
waitForLauncherCondition("Work tab not setup", launcher -> {
if (launcher.getAppsView().getContentView() instanceof AllAppsPagedView) {
Log.d(WORK_TAB_MISSING, "Deferring AppsStore updates");