OSDN Git Service

Make CHANGE_APP_IDLE_STATE a system API
authorAmith Yamasani <yamasani@google.com>
Tue, 31 Oct 2017 20:29:00 +0000 (13:29 -0700)
committerAmith Yamasani <yamasani@google.com>
Thu, 2 Nov 2017 17:14:49 +0000 (17:14 +0000)
commitc433ee54512c1aa472baad1930a40b319e7ce1a2
tree6ce725e208bf00b4e342f28fcb9c6ee25050e5d3
parent36e94d071c5c590d70a552dd4daed1d39a0e83f9
Make CHANGE_APP_IDLE_STATE a system API

Allows a privileged app to set standby bucket states for apps.

Bug: 63527785
Test: adb shell am set-standby-bucket com.example.foo 0
Change-Id: I069546555e1b370247f8cd45b2f4c32e6abe15ed
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/app/usage/UsageStatsManager.java
core/res/AndroidManifest.xml