summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2019-05-27 02:33:22 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-05-27 02:33:22 +0000
commit1100dd8db974c933113cac79fce55596d41bf5d8 (patch)
treed40f2b58077de5b261972133e5d96d995e52351b
parentb7bf4fa27ab635113c98fb34035b073d7a0895e3 (diff)
parent54f1f21be2970504545da01ce45c229929ea1834 (diff)
Merge "Add privapp-permissions for DocumentsUI" into qt-dev
-rw-r--r--data/etc/Android.bp7
-rw-r--r--data/etc/com.android.documentsui.xml21
2 files changed, 28 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp
index 3968f84471c5..4493f3a8dddc 100644
--- a/data/etc/Android.bp
+++ b/data/etc/Android.bp
@@ -74,6 +74,13 @@ prebuilt_etc {
}
prebuilt_etc {
+ name: "privapp_whitelist_com.android.documentsui",
+ sub_dir: "permissions",
+ src: "com.android.documentsui.xml",
+ filename_from_src: true,
+}
+
+prebuilt_etc {
name: "privapp_whitelist_com.android.launcher3",
product_specific: true,
sub_dir: "permissions",
diff --git a/data/etc/com.android.documentsui.xml b/data/etc/com.android.documentsui.xml
new file mode 100644
index 000000000000..36b282c87c40
--- /dev/null
+++ b/data/etc/com.android.documentsui.xml
@@ -0,0 +1,21 @@
+<?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.documentsui">
+ <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
+ </privapp-permissions>
+</permissions>