Loading src/com/android/launcher3/Launcher.java +8 −4 Original line number Diff line number Diff line Loading @@ -435,6 +435,10 @@ public class Launcher extends StatefulActivity<LauncherState> mIsColdStartupAfterReboot = sIsNewProcess && !LockedUserState.get(this).isUserUnlockedAtLauncherStartup(); if (mIsColdStartupAfterReboot) { /* * This trace is used to calculate the time from create to the point that icons are * visible. */ Trace.beginAsyncSection( COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } Loading Loading @@ -2384,10 +2388,6 @@ public class Launcher extends StatefulActivity<LauncherState> .logEnd(LAUNCHER_LATENCY_STARTUP_TOTAL_DURATION) .log() .reset(); if (mIsColdStartupAfterReboot) { Trace.endAsyncSection(COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } }); } Loading @@ -2396,6 +2396,10 @@ public class Launcher extends StatefulActivity<LauncherState> RunnableList onCompleteSignal, int workspaceItemCount, boolean isBindSync) { mModelCallbacks.onInitialBindComplete(boundPages, pendingTasks, onCompleteSignal, workspaceItemCount, isBindSync); if (mIsColdStartupAfterReboot) { Trace.endAsyncSection(COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } } /** Loading Loading
src/com/android/launcher3/Launcher.java +8 −4 Original line number Diff line number Diff line Loading @@ -435,6 +435,10 @@ public class Launcher extends StatefulActivity<LauncherState> mIsColdStartupAfterReboot = sIsNewProcess && !LockedUserState.get(this).isUserUnlockedAtLauncherStartup(); if (mIsColdStartupAfterReboot) { /* * This trace is used to calculate the time from create to the point that icons are * visible. */ Trace.beginAsyncSection( COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } Loading Loading @@ -2384,10 +2388,6 @@ public class Launcher extends StatefulActivity<LauncherState> .logEnd(LAUNCHER_LATENCY_STARTUP_TOTAL_DURATION) .log() .reset(); if (mIsColdStartupAfterReboot) { Trace.endAsyncSection(COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } }); } Loading @@ -2396,6 +2396,10 @@ public class Launcher extends StatefulActivity<LauncherState> RunnableList onCompleteSignal, int workspaceItemCount, boolean isBindSync) { mModelCallbacks.onInitialBindComplete(boundPages, pendingTasks, onCompleteSignal, workspaceItemCount, isBindSync); if (mIsColdStartupAfterReboot) { Trace.endAsyncSection(COLD_STARTUP_TRACE_METHOD_NAME, COLD_STARTUP_TRACE_COOKIE); } } /** Loading