Add non-system user unlock time to timing trace

- Car activates non-0 user during bootup always.

Bug: 124050780
Test: Check log during bootup
Change-Id: I502f291277d968ddc84b66439934c4bc80f1658c
(cherry picked from commit f3dbedd902759f5b6b6fd7c34da2c53429947851)
This commit is contained in:
Keun-young Park
2019-02-07 09:33:12 -08:00
parent 400d99a807
commit 29f70de9e8

View File

@@ -2072,7 +2072,8 @@ class UserController implements Handler.Callback {
new TimingsTraceLog("SystemServerTiming", Trace.TRACE_TAG_SYSTEM_SERVER)
.logDuration("SystemUserUnlock", unlockTime);
} else {
Slog.d(TAG, "Unlocking user " + id + " took " + unlockTime + " ms");
new TimingsTraceLog("SystemServerTiming", Trace.TRACE_TAG_SYSTEM_SERVER)
.logDuration("User" + id + "Unlock", unlockTime);
}
}
};