DO NOT MERGE Refactor StatusBar and CarStatusBar to optimize automotive boot time.
Test: Robolectric -- Robolectric results are identical before and after this change. Test: Manual -- Hawk is booting successfully and interacting with different parts of CarStatusBar is not failing. Test: Manual -- Pixel 2 is booting successfully and interacting with different parts of StatusBar is not failing. Bug: 142342652 Bug: 140999054 Change-Id: Idf5e152aa661f06b7a041d39d759595636807dce
This commit is contained in:
@@ -176,9 +176,11 @@ public class SystemUIApplication extends Application implements SysUiServiceProv
|
||||
|
||||
Log.v(TAG, "Starting SystemUI services for user " +
|
||||
Process.myUserHandle().getIdentifier() + ".");
|
||||
|
||||
TimingsTraceLog log = new TimingsTraceLog("SystemUIBootTiming",
|
||||
Trace.TRACE_TAG_APP);
|
||||
log.traceBegin(metricsPrefix);
|
||||
|
||||
final int N = services.length;
|
||||
for (int i = 0; i < N; i++) {
|
||||
String clsName = services[i];
|
||||
|
||||
Reference in New Issue
Block a user