Skip to content
Commit 885928f7 authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent 83c4c5da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment