Merge "Preload expensive objects before user is unlocked." into tm-qpr-dev am: 86d8db485f am: b341f31fc7

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20391179

Change-Id: I1774961a28e66aefedec2261002d7b2c2b7c3974
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Stefan Andonian
2023-03-02 08:06:26 +00:00
committed by Automerger Merge Worker
8 changed files with 425 additions and 103 deletions

View File

@@ -419,6 +419,7 @@ public class TouchInteractionService extends Service
mDeviceState = new RecentsAnimationDeviceState(this, true);
mTaskbarManager = new TaskbarManager(this);
mRotationTouchHelper = mDeviceState.getRotationTouchHelper();
BootAwarePreloader.start(this);
// Call runOnUserUnlocked() before any other callbacks to ensure everything is initialized.
mDeviceState.runOnUserUnlocked(this::onUserUnlocked);