• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
2
3<!--
4    Copyright (C) 2023 The Android Open Source Project
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10    http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17-->
18
19<!--
20    This file contains permissions to be granted by default. Default
21    permissions are granted to special platform components and to apps
22    that are approved to get default grants. The special components
23    are apps that are expected to work out-of-the-box as they provide
24    core use cases such as default dialer, default email, etc. These
25    grants are managed by the platform. The apps that are additionally
26    approved for default grants are ones that provide carrier specific
27    functionality, ones legally required at some location, ones providing
28    alternative disclosure and opt-out UI, ones providing highlight features
29    of a dedicated device, etc. This file contains only the latter exceptions.
30    Fixed permissions cannot be controlled by the user and need a special
31    approval. Typically these are to ensure either legally mandated functions
32    or the app is considered a part of the OS.
33-->
34
35<exceptions>
36    <exception package="com.google.android.car.kitchensink">
37      <!-- Pregrant the CAMERA permission to the kitchensink app
38           so that User 0 can access the camera.
39      -->
40      <permission name="android.permission.CAMERA" fixed="false"/>
41      <permission name="android.permission.CAMERA_HEADLESS_SYSTEM_USER" fixed="false"/>
42    </exception>
43</exceptions>
44