Prevent preinstallation of AOSP apps on gs201 for clone profile
Bug: 238970256 Test: build Change-Id: Ie275257ce334d914437125afdc4a7e9350208266
This commit is contained in:
parent
9b16140c57
commit
4e3f62823d
2 changed files with 36 additions and 0 deletions
|
@ -901,6 +901,7 @@ PRODUCT_PACKAGES += ShannonIms
|
|||
|
||||
#RCS Test Messaging App
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
preinstalled-packages-product-gs201-device-debug.xml \
|
||||
TestRcsApp
|
||||
|
||||
PRODUCT_PACKAGES += ShannonRcs
|
||||
|
|
35
preinstalled-packages-product-gs201-device-debug.xml
Normal file
35
preinstalled-packages-product-gs201-device-debug.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2022 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.
|
||||
-->
|
||||
<!-- System packages to preinstall on gs201 debug devices, per user type.
|
||||
Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
|
||||
-->
|
||||
<config>
|
||||
<!-- Battery Stats Viewer -->
|
||||
<install-in-user-type package="com.android.frameworks.core.batterystatsviewer">
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
<do-not-install-in user-type="android.os.usertype.profile.CLONE" />
|
||||
</install-in-user-type>
|
||||
|
||||
<!-- RCS (Rich Communication Services)
|
||||
TODO(b/259401601): Check if this should be preinstalled for SYSTEM user -->
|
||||
<install-in-user-type package="com.google.android.sample.rcsclient">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
<do-not-install-in user-type="android.os.usertype.profile.CLONE" />
|
||||
</install-in-user-type>
|
||||
</config>
|
Loading…
Add table
Add a link
Reference in a new issue