Add CONTROL_KEYGUARD_SECURE_NOTIFICATIONS to shell app
Shell app needs the permission when we run KeyguardManager CTS for allowing private notifications as a privileged app. Bug: 127351183 Test: m -j Change-Id: I199bac8c8fed9ff0fc63b8c62f8002a6b273b28f
This commit is contained in:
@@ -307,6 +307,7 @@ applications that come with the platform
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
<permission name="android.permission.STATUS_BAR_SERVICE"/>
|
||||
<permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
|
||||
<permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.statementservice">
|
||||
|
||||
@@ -178,6 +178,9 @@
|
||||
<!-- Permission needed to run network tests in CTS -->
|
||||
<uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
|
||||
|
||||
<!-- Permission needed to run keyguard manager tests in CTS -->
|
||||
<uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
|
||||
|
||||
<application android:label="@string/app_label"
|
||||
android:defaultToDeviceProtectedStorage="true"
|
||||
android:directBootAware="true">
|
||||
|
||||
Reference in New Issue
Block a user