Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3af86029 authored by Yao Li's avatar Yao Li
Browse files

Fix UserManagerServiceTest mocking test

One existing test did not take into account the possibility of being
able to switch to the headless system user. Depending on the value of
config_canSwitchToHeadlessSystemUser on test device, this test may or
may not pass.

This CL explicitly sets the config value, to get consistent test result.

Bug: 391913130
Flag: EXEMPT bugfix
Test: atest FrameworksMockingServicesTests:com.android.server.pm.UserManagerServiceTest
Change-Id: I7cbe4c1786fc770faadecd213efb4aceaf50f016
parent ea391bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment