Files
android_frameworks_base/data/etc/package-shareduid-allowlist.xml
Shreerag Jayakrishnan b5a5f8bfde Add com.android.performanceLaunch to allow-package-shareduid allowlist for com.android.performanceapp.tests
Bug: 346788007
Change-Id: Ic7f9c2e186afb1a5de28d3b24bb1a64758c3a79a
Test: HermeticLaunchTest can run on user builds
2024-06-13 01:03:16 +00:00

37 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2024 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.
-->
<!--
This XML defines an allowlist for packages that want to join a particular shared-uid.
If a non-system package that is signed with platform signature, is trying to join a particular
shared-uid, and not in this list, the installation will fail.
- The "package" XML attribute refers to the app's package name.
- The "shareduid" XML attribute refers to the shared uid name.
Example usage
1. <allow-package-shareduid package="com.example.app" shareduid="android.uid.system"/>
Indicates that a package - com.example.app, will be able to join android.uid.system.
2. <allow-package-shareduid package="oem.example.app" shareduid="oem.uid.custom"/>
Indicates that a package - oem.example.app, will be able to join oem.uid.custom.
-->
<config>
<allow-package-shareduid package="android.test.settings" shareduid="android.uid.system" />
<allow-package-shareduid package="com.android.performanceLaunch" shareduid="com.android.performanceapp.tests" />
</config>