diff options
author | Heemin Seog <hseog@google.com> | 2020-05-28 09:32:36 -0700 |
---|---|---|
committer | Heemin Seog <hseog@google.com> | 2020-05-28 09:32:36 -0700 |
commit | 23d813510f8d401a429e932a01b9da8874b773b3 (patch) | |
tree | 912a96b5c573a5a4be0ca89b741b2165d13a9a2b | |
parent | 4439d85a30e2ad08d0aed670e68462923c845e4e (diff) | |
download | device_generic_car-23d813510f8d401a429e932a01b9da8874b773b3.tar.gz device_generic_car-23d813510f8d401a429e932a01b9da8874b773b3.tar.bz2 device_generic_car-23d813510f8d401a429e932a01b9da8874b773b3.zip |
Allow CarLauncher for user 0
Necessary since the sysui queries system user apps for something that
can handle the home intent when launching the keyguard. This should be
updated to query based on the foreground user in the future.
Bug: 157579456
Test: manual (flash, set security pin, reboot)
Change-Id: I691bc20f42d2997260024eaa2eca249fd41ef607
-rw-r--r-- | common/preinstalled-packages-product-car-emulator.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/preinstalled-packages-product-car-emulator.xml b/common/preinstalled-packages-product-car-emulator.xml index a057a85..166c5d5 100644 --- a/common/preinstalled-packages-product-car-emulator.xml +++ b/common/preinstalled-packages-product-car-emulator.xml @@ -85,6 +85,12 @@ <install-in user-type="SYSTEM" /> </install-in-user-type> + <!-- Required when sysui queries for system user apps to handle the home intent --> + <install-in-user-type package="com.android.car.carlauncher"> + <install-in user-type="FULL" /> + <install-in user-type="SYSTEM" /> + </install-in-user-type> + <!-- Apps that do need to run on SYSTEM and evaluated by package owner. Here the apps will have FULL only. @@ -216,9 +222,6 @@ <install-in-user-type package="com.android.theme.icon_pack.rounded.systemui"> <install-in user-type="FULL" /> </install-in-user-type> - <install-in-user-type package="com.android.car.carlauncher"> - <install-in user-type="FULL" /> - </install-in-user-type> <install-in-user-type package="com.android.car.linkviewer"> <install-in user-type="FULL" /> </install-in-user-type> |