@Implements(value=android.content.RestrictionsManager.class, minSdk=21) public class ShadowRestrictionsManager extends Object
Shadow of RestrictionsManager
.
Constructor and Description |
---|
ShadowRestrictionsManager() |
Modifier and Type | Method and Description |
---|---|
protected Bundle |
getApplicationRestrictions() |
void |
setApplicationRestrictions(Bundle applicationRestrictions)
Sets the application restrictions as returned by
RestrictionsManager.getApplicationRestrictions() . |
public void setApplicationRestrictions(Bundle applicationRestrictions)
Sets the application restrictions as returned by RestrictionsManager.getApplicationRestrictions()
.
@Implementation protected Bundle getApplicationRestrictions()
null
by default, or the value specified via setApplicationRestrictions(Bundle)