diff options
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index aad42082fae3..1426579a0f64 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -442,15 +442,15 @@ public final class SystemServer implements Dumpable { private final SystemServerDumper mDumper = new SystemServerDumper(); - /** * The pending WTF to be logged into dropbox. */ private static LinkedList<Pair<String, ApplicationErrorReport.CrashInfo>> sPendingWtfs; - /** - * Start the sensor service. This is a blocking call and can take time. - */ + /** Start the IStats services. This is a blocking call and can take time. */ + private static native void startIStatsService(); + + /** Start the sensor service. This is a blocking call and can take time. */ private static native void startSensorService(); /** @@ -1029,6 +1029,10 @@ public final class SystemServer implements Dumpable { mSystemServiceManager.startService(PowerStatsService.class); t.traceEnd(); + t.traceBegin("StartIStatsService"); + startIStatsService(); + t.traceEnd(); + // Start MemtrackProxyService before ActivityManager, so that early calls // to Memtrack::getMemory() don't fail. t.traceBegin("MemtrackProxyService"); |