1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<permissions>
18    <!-- b/186861458 Rename the package to com.android.car.templates.host -->
19    <privapp-permissions package="com.android.car.libraries.templates.host">
20        <!-- To be able to display activities in the cluster -->
21        <permission name="android.car.permission.CAR_DISPLAY_IN_CLUSTER" />
22
23        <!-- To be able to show navigation state (turn by turn directions) in the cluster.-->
24        <permission name="android.car.permission.CAR_NAVIGATION_MANAGER" />
25
26        <!-- To be considered a system-approved host -->
27        <permission name="android.car.permission.TEMPLATE_RENDERER" />
28    </privapp-permissions>
29
30    <!-- Declare support for templated applications. -->
31    <feature name="android.software.car.templates_host" />
32</permissions>
33
34