summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2019-05-26 19:47:04 -0700
committer android-build-merger <android-build-merger@google.com> 2019-05-26 19:47:04 -0700
commit547b7b71cf8d46d9bbf3956ae3a6cfc01bfb3c4e (patch)
treeb1c9f90982e9bab33df68c5645c0166110f1b363
parent5e727c3cda2a4bfc698a7d86f3cc566e88d353e8 (diff)
parent1100dd8db974c933113cac79fce55596d41bf5d8 (diff)
Merge "Add privapp-permissions for DocumentsUI" into qt-dev
am: 1100dd8db9 Change-Id: If5a6b10f892c8253713fae9d9e4f8a44ba9bd7ca
-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>