Prepare tests for impending robolectric merge
Some ShadowUserManager function moved into the basic shadow in robolectric proper and has been removed from the Settings ShadowUserManager. Test: make -j56 RunSettingsRoboTests Change-Id: I38647dae5d16bc79bc7925ca139c9362a2035393
This commit is contained in:
@@ -155,6 +155,7 @@ public class ActionDisabledByAdminDialogHelperTest {
|
||||
dpmShadow.setShortSupportMessageForUser(component, 123, "some message");
|
||||
dpmShadow.setIsAdminActiveAsUser(true);
|
||||
userManagerShadow.addProfile(new UserInfo(123, null, 0));
|
||||
userManagerShadow.addUserProfile(new UserHandle(123));
|
||||
ShadowProcess.setMyUid(Process.SYSTEM_UID);
|
||||
|
||||
mHelper.setAdminSupportDetails(mActivity, view, admin);
|
||||
|
Reference in New Issue
Block a user