Moving package installer initialization to worker thread

Bug: 169002215
Change-Id: Ie7b9a1eb27b634455e3d43da411037642efd0534
This commit is contained in:
Sunny Goyal
2020-09-22 12:13:35 -07:00
parent c238e1d71a
commit 573b9ca9ad
4 changed files with 42 additions and 22 deletions

View File

@@ -105,7 +105,7 @@ public class LauncherAppState {
new Handler().post( () -> mInvariantDeviceProfile.verifyConfigChangedInBackground(context));
mInstallSessionTracker = InstallSessionHelper.INSTANCE.get(context)
.registerInstallTracker(mModel, MODEL_EXECUTOR);
.registerInstallTracker(mModel);
// Register an observer to rebind the notification listener when dots are re-enabled.
mNotificationDotsObserver =