Separate privapp grant for settings.intelligence
This app is moving to /product, so split it out of the grant file on /system. For now, make it required by the /system file. As part of moving the an app to /product, the grant file will be made required by the app itself. Bug: 122353713 Test: make Exempt-From-Owner-Approval: approved already Change-Id: I994137279b2c25938fd9967027f606a88bb39468 Merged-In: I994137279b2c25938fd9967027f606a88bb39468
This commit is contained in:
@@ -39,6 +39,9 @@ prebuilt_etc {
|
||||
name: "privapp-permissions-platform.xml",
|
||||
sub_dir: "permissions",
|
||||
src: "privapp-permissions-platform.xml",
|
||||
required: [
|
||||
"privapp_whitelist_com.android.settings.intelligence",
|
||||
]
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
@@ -49,6 +52,13 @@ prebuilt_etc {
|
||||
filename_from_src: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "privapp_whitelist_com.android.settings.intelligence",
|
||||
sub_dir: "permissions",
|
||||
src: "com.android.settings.intelligence.xml",
|
||||
filename_from_src: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "privapp_whitelist_com.android.systemui",
|
||||
product_specific: true,
|
||||
|
||||
23
data/etc/com.android.settings.intelligence.xml
Normal file
23
data/etc/com.android.settings.intelligence.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2019 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License
|
||||
-->
|
||||
<permissions>
|
||||
<privapp-permissions package="com.android.settings.intelligence">
|
||||
<permission name="android.permission.MANAGE_FINGERPRINT"/>
|
||||
<permission name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<permission name="android.permission.READ_SEARCH_INDEXABLES"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
||||
@@ -267,12 +267,6 @@ applications that come with the platform
|
||||
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.settings.intelligence">
|
||||
<permission name="android.permission.MANAGE_FINGERPRINT"/>
|
||||
<permission name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<permission name="android.permission.READ_SEARCH_INDEXABLES"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.sharedstoragebackup">
|
||||
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
||||
</privapp-permissions>
|
||||
|
||||
Reference in New Issue
Block a user