Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7440af3d authored by Saeid Farivar Asanjan's avatar Saeid Farivar Asanjan
Browse files

Whitelist Paintbooth

Test: manually
Change-Id: I5ed9a31ab1af9eb5353038e82418cfe7fad89dfe
parent d7129424
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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,
}
+29 −0
Original line number Diff line number Diff line
<?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>