AnalyticsTests were flaking with concurrent modification exceptions. Fix this by locking mEvents properly in EventRecord. Bug: 119226554 Test: leave it to presubmit Change-Id: I4df0afe399fab148bbebcef51272c56f628ee18f
AnalyticsTests were flaking with concurrent modification exceptions. Fix this by locking mEvents properly in EventRecord. Bug: 119226554 Test: leave it to presubmit Change-Id: I4df0afe399fab148bbebcef51272c56f628ee18f