diff options
| author | 2019-05-28 22:00:42 -0700 | |
|---|---|---|
| committer | 2019-05-29 05:21:49 +0000 | |
| commit | 5f6a7901cdecc4765fa46824ed3b22b69f03b48b (patch) | |
| tree | 60c9142126627b2d0e85d09943cc1b78bc34a271 | |
| parent | 5894d5b851683e9516fb40ae5cebd4649e62998a (diff) | |
Add privapp config for cluster.
bug: 133809765
Test: lunch gcar && m && emulator
lunch aosp && m && emulator
Change-Id: I585bedf65113f2417da8af30eb89788bc120926a
| -rw-r--r-- | data/etc/car/Android.bp | 7 | ||||
| -rw-r--r-- | data/etc/car/android.car.cluster.xml | 24 |
2 files changed, 31 insertions, 0 deletions
diff --git a/data/etc/car/Android.bp b/data/etc/car/Android.bp index 37020fc8d79f..9272ea5e584b 100644 --- a/data/etc/car/Android.bp +++ b/data/etc/car/Android.bp @@ -31,6 +31,13 @@ prebuilt_etc { } prebuilt_etc { + name: "privapp_whitelist_android.car.cluster", + sub_dir: "permissions", + src: "android.car.cluster.xml", + filename_from_src: true, +} + +prebuilt_etc { name: "privapp_whitelist_android.car.usb.handler", sub_dir: "permissions", src: "android.car.usb.handler.xml", diff --git a/data/etc/car/android.car.cluster.xml b/data/etc/car/android.car.cluster.xml new file mode 100644 index 000000000000..d7f29da7a356 --- /dev/null +++ b/data/etc/car/android.car.cluster.xml @@ -0,0 +1,24 @@ +<?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="android.car.cluster"> + <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/> + <permission name="android.permission.INTERACT_ACROSS_USERS"/> + <permission name="android.permission.MANAGE_USERS"/> + <permission name="android.permission.WRITE_SECURE_SETTINGS"/> + </privapp-permissions> +</permissions> |