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