Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa3fd615 authored by James Hawkins's avatar James Hawkins
Browse files

SystemServer: Remove logging boot_android_init.

This is now logged by the bootstat command.

Bug: 34391732
Test: none
Change-Id: I8bbc22e3c7b0268876c4819ed48b7e4b31d6fb3e
parent 094119df
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -282,12 +282,6 @@ public final class SystemServer {
            EventLog.writeEvent(EventLogTags.BOOT_PROGRESS_SYSTEM_RUN, uptimeMillis);
            EventLog.writeEvent(EventLogTags.BOOT_PROGRESS_SYSTEM_RUN, uptimeMillis);
            if (!mRuntimeRestart && !mFirstBoot) {
            if (!mRuntimeRestart && !mFirstBoot) {
                MetricsLogger.histogram(null, "boot_system_server_init", uptimeMillis);
                MetricsLogger.histogram(null, "boot_system_server_init", uptimeMillis);
                // Also report when first stage of init has started
                long initStartNs = SystemProperties.getLong("ro.boottime.init", -1);
                if (initStartNs >= 0) {
                    MetricsLogger.histogram(null, "boot_android_init",
                            (int)(initStartNs / 1000000));
                }
            }
            }


            // In case the runtime switched since last boot (such as when
            // In case the runtime switched since last boot (such as when