Add preinstallation configs for RCS and BatteryStats Viewer am: 1c2efaed80

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/21475753

Change-Id: Ida455540199d9e34dbea8e5afa610644b97f00e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Cynthia Wasonga 2023-02-23 17:42:19 +00:00 committed by Automerger Merge Worker
commit d88f2758b4
3 changed files with 44 additions and 0 deletions

View file

@ -34,3 +34,11 @@ license {
"NOTICE",
],
}
prebuilt_etc {
name: "preinstalled-packages-product-gs101-device-debug.xml",
src: "preinstalled-packages-product-gs101-device-debug.xml",
product_specific: true,
sub_dir: "sysconfig",
filename_from_src: true,
}

View file

@ -898,6 +898,7 @@ $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHA
#RCS Test Messaging App
PRODUCT_PACKAGES_DEBUG += \
preinstalled-packages-product-gs101-device-debug.xml \
TestRcsApp
PRODUCT_PACKAGES += ShannonRcs

View file

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2023 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 gs101 debug devices, per user type.
Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
-->
<config>
<!-- Battery Stats Viewer (BatteryStatsViewer) -->
<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 (TestRcsApp)
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>