Merge "Lock the pulling alarm handler." into pi-dev am: 493bb2b119

am: 2eccd835de

Change-Id: I4c488e49c74021459b4a86ba9d596bed2e2007c1
This commit is contained in:
Yang Lu
2018-05-02 14:31:12 -07:00
committed by android-build-merger

View File

@@ -502,6 +502,7 @@ void StatsLogProcessor::WriteDataToDisk(bool isShutdown) {
}
void StatsLogProcessor::informPullAlarmFired(const int64_t timestampNs) {
std::lock_guard<std::mutex> lock(mMetricsMutex);
mStatsPullerManager.OnAlarmFired(timestampNs);
}