ParallelSpace: Add priv app permissions xml

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
diff --git a/Android.bp b/Android.bp
index 5ef1257..a21d13f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -19,5 +19,15 @@
         "androidx.lifecycle_lifecycle-livedata-ktx",
         "SettingsLib",
     ],
-    overrides: ["ParallelSpacePrebuilt"],
+    required: [
+        "privapp_whitelist_ink.kscope.parallelspace",
+    ],
+}
+
+prebuilt_etc {
+    name: "privapp_whitelist_ink.kscope.parallelspace",
+    system_ext_specific: true,
+    sub_dir: "permissions",
+    src: "privapp_whitelist_ink.kscope.parallelspace.xml",
+    filename_from_src: true,
 }
diff --git a/privapp_whitelist_ink.kscope.parallelspace.xml b/privapp_whitelist_ink.kscope.parallelspace.xml
new file mode 100644
index 0000000..548ae24
--- /dev/null
+++ b/privapp_whitelist_ink.kscope.parallelspace.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright (C) 2018 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="ink.kscope.parallelspace">
+        <permission name="android.permission.MANAGE_PARALLEL_SPACES"/>
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+        <permission name="android.permission.QUERY_ALL_PACKAGES"/>
+        <permission name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
+    </privapp-permissions>
+</permissions>