summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Zacharia <george.zcharia@gmail.com>2021-02-28 07:58:27 +0530
committerGeorge Zacharia <george.zcharia@gmail.com>2023-01-10 22:03:00 +0530
commit206051686a9b9795a371ef05b996dfde334cbf6f (patch)
treefd56836f9fe2bbd336bdd1b5a580ca8ec415cea3
parentc1a97c38f98c500a23527f4a355e6c7be5f6d254 (diff)
Add the app permission file blueprint is expecting
Required to make this a standalone module Change-Id: I080d98b927ba6571e2c29acd4cebe58d69dafd03
-rw-r--r--Android.bp7
-rw-r--r--com.android.apppredictionservice.xml21
2 files changed, 28 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 8cc7c32..b851a12 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,3 +50,10 @@ android_app {
resource_dirs: [
],
}
+
+prebuilt_etc {
+ name: "privapp_whitelist_com.android.apppredictionservice",
+ sub_dir: "permissions",
+ src: "com.android.apppredictionservice.xml",
+ filename_from_src: true,
+}
diff --git a/com.android.apppredictionservice.xml b/com.android.apppredictionservice.xml
new file mode 100644
index 0000000..2b70c8a
--- /dev/null
+++ b/com.android.apppredictionservice.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.apppredictionservice">
+ <permission name="android.permission.QUERY_ALL_PACKAGES"/>
+ </privapp-permissions>
+</permissions>