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