commit | 60aa35b756707a16d310c222a36edbcef9d56ed4 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Tue Apr 24 18:52:46 2018 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Wed Apr 25 16:36:35 2018 -0700 |
tree | 19f4d5c720b2e044ed2bb6ea5538bb532e61d175 | |
parent | fe36369c075661b61437863a17ff4d1916ca4456 [diff] |
Using a list to store usage events Moving UsageEvent.Event objects to an array list sorted on the event timestamps as there can be multiple events with the same timestamps. Test: atest android.app.usage.EventListTest Existing tests: atest android.app.usage.cts.UsageStatsTest Bug: 74406113 Change-Id: Idc7f2a8db6e5a9499b3b0b74efbf014b17fa495f