shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java
public Bundle getApplicationRestrictions(String packageName) {
    Bundle bundle = applicationRestrictionsMap.get(packageName);
    // If no restrictions were saved, DPM method should return an empty Bundle as per JavaDoc.
    return bundle != null ? new Bundle(bundle) : new Bundle();
  }
public Bundle getApplicationRestrictions(String packageName) {
    Bundle bundle = applicationRestrictionsMap.get(packageName);
    // If no restrictions were saved, DPM method should return an empty Bundle as per JavaDoc.
    return bundle != null ? new Bundle(bundle) : new Bundle();
  }
public Bundle getApplicationRestrictions ( String packageName ) { Bundle bundle = applicationRestrictionsMap . get ( packageName ) ; // If no restrictions were saved, DPM method should return an empty Bundle as per JavaDoc. return bundle != null ? new Bundle ( bundle ) : new Bundle ( ) ; }
Returns all application restrictions of the {@code packageName} in a {@link Bundle}.
Returns all application restrictions of the {