Package org.robolectric.shadows
Class ShadowRestrictionsManager
java.lang.Object
org.robolectric.shadows.ShadowRestrictionsManager
@Implements(android.content.RestrictionsManager.class)
public class ShadowRestrictionsManager
extends Object
Shadow of
RestrictionsManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Bundle
static void
reset()
void
setApplicationRestrictions
(Bundle applicationRestrictions) Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
.
-
Constructor Details
-
ShadowRestrictionsManager
public ShadowRestrictionsManager()
-
-
Method Details
-
reset
-
setApplicationRestrictions
Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
. -
getApplicationRestrictions
- Returns:
- null by default, or the value specified via
setApplicationRestrictions(Bundle)
-