| Alex Buynytskyy | 4f882cc | 2024-02-29 18:54:43 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 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 XML defines an allowlist for packages that want to join a particular shared-uid. |
| 20 | If a non-system package that is signed with platform signature, is trying to join a particular |
| 21 | shared-uid, and not in this list, the installation will fail. |
| 22 | |
| 23 | - The "package" XML attribute refers to the app's package name. |
| 24 | - The "shareduid" XML attribute refers to the shared uid name. |
| 25 | |
| 26 | Example usage |
| 27 | 1. <allow-package-shareduid package="com.example.app" shareduid="android.uid.system"/> |
| 28 | Indicates that a package - com.example.app, will be able to join android.uid.system. |
| 29 | 2. <allow-package-shareduid package="oem.example.app" shareduid="oem.uid.custom"/> |
| 30 | Indicates that a package - oem.example.app, will be able to join oem.uid.custom. |
| 31 | --> |
| 32 | |
| 33 | <config> |
| 34 | <allow-package-shareduid package="android.test.settings" shareduid="android.uid.system" /> |
| Shreerag Jayakrishnan | b5a5f8b | 2024-06-13 01:01:12 +0000 | [diff] [blame] | 35 | <allow-package-shareduid package="com.android.performanceLaunch" shareduid="com.android.performanceapp.tests" /> |
| Alex Buynytskyy | 4f882cc | 2024-02-29 18:54:43 +0000 | [diff] [blame] | 36 | </config> |