summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2021-01-25 19:52:52 -0800
committerTianjie <xunchang@google.com>2021-02-09 20:24:49 -0800
commit6a0d50dd2ee47a1b38793303355490b367478b33 (patch)
treeb5e028804c2d3e36d3ee6e832e4302b36b75478a /packages/Shell
parent072c9b4cc403625b85e26525ec0ad43436208082 (diff)
Add shell command to set package
Adds an override to set the resume on reboot service provider. This is needed to run CTS test with fake implementation. Note we won't change the implementation provider once the resume on reboot flow starts. Bug: 178014912 Test: adb shell cmd lock_settings set-resume-on-reboot-provider-package com.android.cts.encryptionap; check the implementation is found correctly Change-Id: I4ed6d4f25f30b5c3db4e8776f6fe4a0cd1a2793c
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 39be9cbff40d..90f6a4a2983d 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -357,6 +357,7 @@
<uses-permission android:name="android.permission.BIND_VOICE_INTERACTION" />
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
+ <uses-permission android:name="android.permission.BIND_RESUME_ON_REBOOT_SERVICE" />
<application android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"