Package org.robolectric.shadows
Class ShadowDevicePolicyResourcesManager
java.lang.Object
org.robolectric.shadows.ShadowDevicePolicyResourcesManager
@Implements(value=android.app.admin.DevicePolicyResourcesManager.class,
minSdk=33,
isInAndroidSdk=false)
public class ShadowDevicePolicyResourcesManager
extends Object
Shadow for
DevicePolicyResourcesManager
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ShadowDevicePolicyResourcesManager
public ShadowDevicePolicyResourcesManager()
-
-
Method Details
-
setString
Override string returned by the resource identified bystringId
. Reset the override by providing null as thevaNlue
. -
getString
@Implementation @Nullable protected String getString(@NonNull String stringId, @NonNull Supplier<String> defaultStringLoader)
-