Merge "Add non-system user unlock time to timing trace"

This commit is contained in:
Keun-young Park
2019-02-11 18:20:54 +00:00
committed by Android (Google) Code Review

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);
}
}
};