Add preinstallation configs for RCS and BatteryStats Viewer
Bug: 238970256 Test: Verify app installation on device Change-Id: I7051a1749b31833a543e24af128227690521c00b
This commit is contained in:
parent
dc76c15ca4
commit
decaece429
3 changed files with 44 additions and 0 deletions
|
@ -34,3 +34,11 @@ license {
|
||||||
"NOTICE",
|
"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,
|
||||||
|
}
|
||||||
|
|
|
@ -898,6 +898,7 @@ $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/$(BOARD_USES_SHA
|
||||||
|
|
||||||
#RCS Test Messaging App
|
#RCS Test Messaging App
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
|
preinstalled-packages-product-gs101-device-debug.xml \
|
||||||
TestRcsApp
|
TestRcsApp
|
||||||
|
|
||||||
PRODUCT_PACKAGES += ShannonRcs
|
PRODUCT_PACKAGES += ShannonRcs
|
||||||
|
|
35
preinstalled-packages-product-gs101-device-debug.xml
Normal file
35
preinstalled-packages-product-gs101-device-debug.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue