diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-03-23 14:20:17 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-03-23 17:51:20 -0700 |
commit | 2811d92483d8cad0c69309ce4f2ca42866fb1774 (patch) | |
tree | b54860daa4227d0b32a03bf9f55a0ed3d9ecb12f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5d9617c439d0f85b67ba0d21e43f665ab9bf13ae (diff) |
Guarding collisions in TimeSparseArray
TimeSparseArray - used to store UsageEvents - can keep at most one event
per millisecond, which can result in an event being replaced by another
event that occurred close enough that the system records it at the same
millisecond.
Test: atest android.app.usage.TimeSparseArrayTest
Fixes: 73832306
Change-Id: I860a101ab098f65d5c5832758832f43572865690
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions