Fix and enable secondary_user_on_secondary_display for CtsIkeTestCases
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.
Test fixes include
- Tweak the appops command so that MANAGE_IPSEC_TUNNELS can be properly granted to a visible background user (non current user).
Bug: 363320962
Flag: EXEMPT test fix
Test: tested on gcar_md emu
Test: atest --user-type secondary_user_on_secondary_display CtsIkeTestCases
Test: atest --user-type secondary_user CtsIkeTestCases
Test: atest CtsIkeTestCases
Merged-In: Ib803983991bbdc2b3d389c1a52133f2a0105bea5
Change-Id: Ib803983991bbdc2b3d389c1a52133f2a0105bea5
2 files changed