diff options
author | Cynthia Wasonga <wasonga@google.com> | 2022-11-10 22:58:53 +0000 |
---|---|---|
committer | Cynthia Wasonga <wasonga@google.com> | 2022-11-22 13:39:04 +0000 |
commit | 4e3f62823d75c1062910d585fa538ad3822f8546 (patch) | |
tree | 12cfc99a7837906551b6830db0f487fefb37f507 | |
parent | 9b16140c57f7c758db6a93e4100b304f0a63a5a5 (diff) | |
download | gs201-4e3f62823d75c1062910d585fa538ad3822f8546.tar.gz |
Prevent preinstallation of AOSP apps on gs201 for clone profile
Bug: 238970256
Test: build
Change-Id: Ie275257ce334d914437125afdc4a7e9350208266
-rw-r--r-- | device.mk | 1 | ||||
-rw-r--r-- | preinstalled-packages-product-gs201-device-debug.xml | 35 |
2 files changed, 36 insertions, 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 diff --git a/preinstalled-packages-product-gs201-device-debug.xml b/preinstalled-packages-product-gs201-device-debug.xml new file mode 100644 index 0000000..a0b67c3 --- /dev/null +++ b/preinstalled-packages-product-gs201-device-debug.xml @@ -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> |