[1/n] Launcher Startup Latency: add StartupLatencyLogger to launcher3 and log startup latency

More details at "Log Startup Latency" section in go/launcher-startup-latency

Test: tested on phone, foldable and tablet, print latency logs in logcat
Bug: 278092752
Change-Id: Ibf269b0ecd6007d29b95e36f65ab6f02c45deb3a
This commit is contained in:
Fengjiang Li committed 2023-05-02 17:08:05 -07:00
1 parent 5f45663552
commit 5a36c17a32
11 files changed
+703 -22

No files matched your search

@@ -232,7 +232,7 @@ public class LoaderTask implements Runnable {
}
verifyNotStopped();
mLauncherBinder.bindWorkspace(true /* incrementBindId */);
mLauncherBinder.bindWorkspace(true /* incrementBindId */, /* isBindSync= */ false);
logASplit(timingLogger, "bindWorkspace");
mModelDelegate.workspaceLoadComplete();