diff options
author | 2024-12-12 17:20:29 -0800 | |
---|---|---|
committer | 2025-01-09 13:40:24 -0800 | |
commit | fabf8e4c3d66e1e7de16169b1d21c434e23ef410 (patch) | |
tree | 2572631ca889862ad22f2eabd6a1e89414330cdd /packages/Shell | |
parent | 0fd6b40df2e42acd9f90939eb934b8d016b8014d (diff) |
Add support for Fine Granularity PowerMonitors
Bug: 341941666
Flag: android.permission.flags.fine_power_monitor_permission
Test: atest PowerStatsTests; atest android.os.health.cts.PowerMonitorsTest
Change-Id: I8f4abf2116d42e07dbc1aa97c15df29b00acead6
Diffstat (limited to 'packages/Shell')
-rw-r--r-- | packages/Shell/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 46bd88fcdc93..4448000324d8 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -169,6 +169,7 @@ <!-- Internal permissions granted to the shell. --> <uses-permission android:name="android.permission.FORCE_BACK" /> <uses-permission android:name="android.permission.BATTERY_STATS" /> + <uses-permission android:name="android.permission.ACCESS_FINE_POWER_MONITORS" /> <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> <uses-permission android:name="android.permission.REPORT_USAGE_STATS" /> <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> |