Whitelist Paintbooth

Test: manually
Change-Id: I5ed9a31ab1af9eb5353038e82418cfe7fad89dfe
This commit is contained in:
Saeid Farivar Asanjan
2020-01-14 14:57:42 -08:00
parent d71294243c
commit 7440af3dc8
2 changed files with 36 additions and 0 deletions

View File

@@ -135,3 +135,10 @@ prebuilt_etc {
src: "com.android.car.floatingcardslauncher.xml",
filename_from_src: true,
}
prebuilt_etc {
name: "privapp_whitelist_com.android.car.ui.paintbooth",
sub_dir: "permissions",
src: "com.android.car.ui.paintbooth.xml",
filename_from_src: true,
}

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2020 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.car.ui.paintbooth">
<!-- For enabling/disabling, and getting list of RROs -->
<permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
<!-- For showing the current active activity -->
<permission name="android.permission.REAL_GET_TASKS"/>
<!-- For getting list of RROs for current user -->
<permission name="android.permission.MANAGE_USERS"/>
<!-- For getting list of RROs for current user-->
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
</permissions>