Fix to support secondary_user_on_secondary_display on CtsPackageManagerTestCases:PackageManagerShellCommandInstallTest
secondary_user_on_secondary_display is for background users that have
access to UI on assigned displays (a.k.a. visible background users) on
devices that have config_multiuserVisibleBackgroundUsers enabled.
The main use case is Automotive's multi-display Whole Cabin experience
where passengers (modeled as visible background users) can interact
with the display in front of them concurrently with the driver (modeled
as the the current user) interacting with driver's display.
Fixes include
- Install the package for PackageVerifierTest for the test user instead
of "all" users, as the verifier is expected to be the current user
when the package is installed for all users.
Bug: 377564372
Flag: EXEMPT test fix
Test: atest CtsPackageManagerTestCases
Test: atest --user-type secondary_user_on_secondary_display CtsPackageManagerTestCases
(cherry picked from https://partner-android-review.googlesource.com/q/commit:cce189af81349efd4d1daf003d3137f75511b0e0)
Merged-In: Ic01c826465566f194124fd310ba22b0751faf630
Change-Id: Ic01c826465566f194124fd310ba22b0751faf630
1 file changed