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