diff options
| author | 2023-01-11 08:48:26 -0800 | |
|---|---|---|
| committer | 2023-01-31 08:34:57 -0800 | |
| commit | 885928f7b5e703aad180acba79d5f39fdbcb87e6 (patch) | |
| tree | 69f17141da2498135a49754253feaf4c0636fe99 /libs/androidfw/ApkParsing.cpp | |
| parent | 83c4c5dab2618b6d4e18e95d84406f2a402f4d88 (diff) | |
Allow visible background users on default display.
This scenario will be used on automotive builds that only support
passengers (for example, when a 2nd instance of Android runs on the
back seat of a car).
Test: atest UserVisibilityMediatorMUPANDTest UserVisibilityMediatorMUMDTest UserVisibilityMediatorSUSDTest # unit
Test: atest UserVisibilityVisibleBackgroundUsersOnDefaultDisplayTest # CTS
Test: m update-api
Test: adb shell stop && \
  adb shell setprop fw.visible_bg_users true && \
  adb shell setprop fw.visible_bg_users_on_default_display true && \
  adb shell start && sleep 30 &&
  adb shell cmd user is-visible-background-users-on-default-display-supported &&
  adb shell am start-user --display 0 10
Fixes: 261538232
Change-Id: I043b0677351999182a73ed938b2da38c955d5433
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions