Merge "[1/n] Launcher Startup Latency: add StartupLatencyLogger to launcher3 and log startup latency" into udc-dev am: c15679d512 am: ffcad66fac

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

Change-Id: Ibea9a5ebd5bb0ddcbd8d6f66c61637517afbb159
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Fengjiang Li
2023-05-03 05:07:05 +00:00
committed by Automerger Merge Worker
11 changed files with 703 additions and 22 deletions
@@ -1063,7 +1063,8 @@ public class QuickstepLauncher extends Launcher {
}
@Override
public void onInitialBindComplete(IntSet boundPages, RunnableList pendingTasks) {
public void onInitialBindComplete(IntSet boundPages, RunnableList pendingTasks,
int workspaceItemCount, boolean isBindSync) {
pendingTasks.add(() -> {
// This is added in pending task as we need to wait for views to be positioned
// correctly before registering them for the animation.
@@ -1073,7 +1074,7 @@ public class QuickstepLauncher extends Launcher {
mLauncherUnfoldAnimationController.updateRegisteredViewsIfNeeded();
}
});
super.onInitialBindComplete(boundPages, pendingTasks);
super.onInitialBindComplete(boundPages, pendingTasks, workspaceItemCount, isBindSync);
}
@Override