Enable secondary_user_on_secondary_display for AmProfileTests
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
- Add user information while launching activity to launch it on
the intended display.
Change-Id: Id50c74712a600496f721472e44da2f113ba537ed
Flag: NONE (bugfix)
Bug: 354768260
Test: atest CtsWindowManagerDeviceActivity:AmProfileTests
Test: atest --user-type secondary_user_on_secondary_display AmProfileTests
Test: atest --user-type secondary_user AmProfileTests
(cherry picked from commit bb45a2974c7c03c9921f5ad052661ed4ba6609ad)
1 file changed