commit | 157db238a62db342538419b976379bda30bb59ae | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Thu Feb 11 00:12:01 2021 -0800 |
committer | Kevin Han <kevhan@google.com> | Wed Mar 03 17:15:23 2021 -0800 |
tree | 64c32339bea8ceccd33f24226135ba95fb80f34f | |
parent | af1ec28daaafa490b1e4bab36977d08175245821 [diff] |
Add new component usage event (1/2) Add a new usage event to UsageStats when a component in a package is used (content provider binding, explicit broadcast, activity resume) and it is considered to be important usage. The follow-up CL will handle the service binding case as it is a little complicated due to job bindings. Bug: 175829712 Test: adb shell dumpsys usagestats <package-name> Test: atest UserUsageStatsServiceTest Change-Id: I1f2967dcf5999a8f0affea94bce4c0873a04e022