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
void
setApplicationRestrictions
(Bundle applicationRestrictions) Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
.
-
Constructor Details
-
ShadowRestrictionsManager
public ShadowRestrictionsManager()
-
-
Method Details
-
setApplicationRestrictions
Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
. -
getApplicationRestrictions
- Returns:
- null by default, or the value specified via
setApplicationRestrictions(Bundle)
-