Loading
Address failing tests for CtsMultiUserHostTest.
isDefaultServiceEnabled requires a permission check which looks like CTS tests do not have. Instead, manually check if the services passed in are default services, if not then use the ones provided for testing. Bug: 263418986 Test: atest CtsMultiUserHostTestCases:android.host.multiuser.EphemeralTest#testSwitchAndRemoveEphemeralUser atest CtsAmbientContextServiceTestCases atest CtsWearableSensingServiceTestCases. Ignore-AOSP-First: to prevent new feature leak. Change-Id: I2b2871d70d45401fe789c6abf948c42e2e12c871