commit | d4de97915b932efa3ae309e8adf7864d845884b7 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri Feb 05 14:13:17 2021 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Sun Feb 07 21:45:43 2021 -0800 |
tree | 31c9101e1b2ae2b540e10485b1e4b7f454bf62d0 | |
parent | e7ce67f421730938e26abce67fa09e411a8549d4 [diff] |
Make UsageStats query API UserHandle-aware Allow queryUsageStats to take in the context's userId. This allows apps like Settings to query usage stats across profiles. Bug: 146921442 Test: atest CtsUsageStatsTestCases:UsageStatsTests Change-Id: Ia6c90c1a31887efa8d5446c1b1b11e75cb9ab83e