Merge "Follow-up 2076940: Allow device owner to configure profile network preference "

This commit is contained in:
Treehugger Robot
2022-05-02 15:00:55 +00:00
committed by Gerrit Code Review

View File

@@ -14754,6 +14754,7 @@ public class ConnectivityServiceTest {
* Make sure requests for per-profile default networking for a device owner is
* accepted on T and not accepted on S
*/
@Test
public void testProfileNetworkDeviceOwner() throws Exception {
final UserHandle testHandle = UserHandle.of(TEST_WORK_PROFILE_USER_ID);
mServiceContext.setWorkProfile(testHandle, false);