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

Commit 1decec59 authored by Roger 1 Jönsson's avatar Roger 1 Jönsson Committed by android-build-merger
Browse files

Merge "Create new trace object when logging from new thread" into oc-mr1-dev

am: 071edf5b

Change-Id: I7b0c2521a3e010b9ddcc316ff59c97b42888d94c
parents 93ab9a27 071edf5b
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -828,9 +828,11 @@ public final class SystemServer {
            // because it need to connect to SensorManager. This have to start
            // because it need to connect to SensorManager. This have to start
            // after START_SENSOR_SERVICE is done.
            // after START_SENSOR_SERVICE is done.
            SystemServerInitThreadPool.get().submit(() -> {
            SystemServerInitThreadPool.get().submit(() -> {
                traceBeginAndSlog(START_HIDL_SERVICES);
                TimingsTraceLog traceLog = new TimingsTraceLog(
                        SYSTEM_SERVER_TIMING_ASYNC_TAG, Trace.TRACE_TAG_SYSTEM_SERVER);
                traceLog.traceBegin(START_HIDL_SERVICES);
                startHidlServices();
                startHidlServices();
                traceEnd();
                traceLog.traceEnd();
            }, START_HIDL_SERVICES);
            }, START_HIDL_SERVICES);


            if (!disableVrManager) {
            if (!disableVrManager) {