commit | 62ec27e97f68513c5637383fb72de469c5e903c1 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Sun Mar 11 14:42:06 2018 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Thu Mar 15 17:07:28 2018 -0700 |
tree | ce5ceae6a6e2939674f9a6633acdb84a81e19bf5 | |
parent | 200de1cc86c38bc34317c500f808be40baf341d0 [diff] |
App Time Limits API in UsageStats Allow setting groups of apps to control usage time limits on. Applies only to activity time in the foreground. Updated UsageStatsTest app to be able to add an observer for a 30 second timeout across multiple comma separated package names. Bug: 74335821 Test: atest FrameworksServicesTests:AppTimeLimitControllerTests Install and run frameworks/base/tests/UsageStatsTest Change-Id: I677c30b4f211f7acf72c9766df3d8c1ac56a4b4e