Merge "Lock the pulling alarm handler." into pi-dev

am: 493bb2b119

Change-Id: I91bc58bf99a1834821f88aeee3f1ce99da9861e5
This commit is contained in:
Yang Lu
2018-05-02 11:43:26 -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);
}