Class ShadowRestrictionsManager
java.lang.Object
org.robolectric.shadows.ShadowRestrictionsManager
Shadow of
RestrictionsManager.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Bundlestatic voidreset()voidsetApplicationRestrictions(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)
-