Add preinstallation configs for AOSP Files, Search and Keyboard

Bug: 238970256
Bug: 267617358
Test: Verify app installation on device
Change-Id: I08d238dfc61571fc9f575e7b72fbee6db418c90c
Merged-In: I08d238dfc61571fc9f575e7b72fbee6db418c90c
This commit is contained in:
Cynthia Wasonga
2023-01-24 17:16:28 +00:00
committed by Cherry Ng
parent a9e0bbdcef
commit 94a52f2017
2 changed files with 30 additions and 6 deletions

View File

@@ -17,8 +17,11 @@
Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
--> -->
<config> <config>
<install-in-user-type package="com.android.wallpapercropper"> <!-- Android Keyboard (AOSP) (LatinIME) TODO(b/258055479) -->
<install-in-user-type package="com.android.inputmethod.latin">
<install-in user-type="SYSTEM" />
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<install-in user-type="PROFILE" />
</install-in-user-type> </install-in-user-type>
<!-- Calendar --> <!-- Calendar -->
@@ -28,30 +31,43 @@
<do-not-install-in user-type="android.os.usertype.profile.CLONE" /> <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
</install-in-user-type> </install-in-user-type>
<!-- Camera --> <!-- Camera (Camera2) -->
<install-in-user-type package="com.android.camera2"> <install-in-user-type package="com.android.camera2">
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<install-in user-type="PROFILE" /> <install-in user-type="PROFILE" />
<do-not-install-in user-type="android.os.usertype.profile.CLONE" /> <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
</install-in-user-type> </install-in-user-type>
<!-- Clock --> <!-- Clock (DeskClock) -->
<install-in-user-type package="com.android.deskclock"> <install-in-user-type package="com.android.deskclock">
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<do-not-install-in user-type="android.os.usertype.profile.CLONE" /> <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
</install-in-user-type> </install-in-user-type>
<!-- Contacts --> <!-- Contacts -->
<install-in-user-type package="com.android.contacts"> <install-in-user-type package="com.android.contacts">
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<install-in user-type="PROFILE" /> <install-in user-type="PROFILE" />
<do-not-install-in user-type="android.os.usertype.profile.CLONE" /> <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
</install-in-user-type> </install-in-user-type>
<!-- Gallery --> <!-- Gallery (Gallery2) -->
<install-in-user-type package="com.android.gallery3d"> <install-in-user-type package="com.android.gallery3d">
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<install-in user-type="PROFILE" /> <install-in user-type="PROFILE" />
<do-not-install-in user-type="android.os.usertype.profile.CLONE" /> <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
</install-in-user-type> </install-in-user-type>
<!-- Search (QuickSearchBox) TODO(b/258055479) -->
<install-in-user-type package="com.android.quicksearchbox">
<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>
<!-- WallpaperCropper -->
<install-in-user-type package="com.android.wallpapercropper">
<install-in user-type="FULL" />
</install-in-user-type>
</config> </config>

View File

@@ -17,7 +17,15 @@
Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml Documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
--> -->
<config> <config>
<!-- Printer (Does not show on launcher, but shows on the share sheet) --> <!-- Files (DocumentsUI) TODO(b/258055479) -->
<install-in-user-type package="com.android.documentsui">
<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>
<!-- Printer (BuiltInPrintService) (Does not show on launcher but shows on the share sheet) -->
<install-in-user-type package="com.android.bips"> <install-in-user-type package="com.android.bips">
<install-in user-type="FULL" /> <install-in user-type="FULL" />
<install-in user-type="PROFILE" /> <install-in user-type="PROFILE" />