commit | b472b8f28175fff6780b9fb2762b461011a9334a | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Mon Sep 23 23:01:06 2019 -0700 |
committer | Varun Shah <varunshah@google.com> | Tue Oct 08 11:45:38 2019 -0700 |
tree | 0072395590f270d69b64c6704278deffc7dfed0f | |
parent | 76e56e40393ad3b14a33dbbba029e521c3850bb2 [diff] |
Allow the supervision app to access certain UsageStats APIs. Allow the active supervision component to access app usage limit APIs. This includes #registerAppUsageLimitObserver and #unregisterAppUsageLimitObserver. Bug: 138681869 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest#testIsActiveSupervisor Test: atest AppTimeLimitControllerTests Test: atest android.app.usage.cts.UsageStatsTest Change-Id: I3daafc14ccdbf27558c1325b965f2bc6d2dab2f6