HSUM user fixes for ChooserActivityTest
This CL contains two fixes for the ChooserActivityTest: - Set the work profile id based on HSUM or non HSUM. - Create a list controller mock based on the overriden work profile and not on system user. With both of these together, tests are not crashing anymore on HSUM, and the testWorkTab_workUserNotRunning_workTargetsShown test succeeds. Other tests are still failing and more work will be required to make those tests HSUM-compatible. Fix: 383079863 Test: atest com.android.internal.app.ChooserActivityTest Flag: EXEMPT TEST_ONLY Change-Id: I7b744f1bd78b2a48f9b71b3b3c6e4259e5e4f56d
Loading
Please register or sign in to comment