summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Robert Horvath <robhor@google.com> 2023-01-10 15:51:35 +0100
committer Robert Horvath <robhor@google.com> 2023-02-15 18:07:55 +0100
commite996ea5e068db9fe8a6476bc40a4f3f3aa5ef227 (patch)
treefee05d819e254bcab39077638a6ba2cdbacf99aa /packages/Shell
parentd68257226cd1dae9b7a3bdefe8e19d24c8c285ca (diff)
Add standby ports APIs to LowPowerStandbyManager
During Low Power Standby, most ports on the device will be blocked to avoid unnecessary wakeups of the application processor. Privileged apps can request ports to remain to continue to offer essential functionality during Low Power Standby. Bug: 234002812 Test: atest LowPowerStandbyControllerTest LowPowerStandbyTest Change-Id: I67d57c9d020ed5e76eda0566dca57e0b4d4fecbd
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 0664061401f3..464672cf4cfb 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -265,6 +265,7 @@
<uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" />
<uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
<uses-permission android:name="android.permission.MANAGE_LOW_POWER_STANDBY" />
+ <uses-permission android:name="android.permission.SET_LOW_POWER_STANDBY_PORTS" />
<uses-permission android:name="android.permission.MANAGE_SEARCH_UI" />
<uses-permission android:name="android.permission.MANAGE_SMARTSPACE" />
<uses-permission android:name="android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION" />