code: public void setApplicationRestrictions(String packageName, Bundle applicationRestrictions) {
      applicationRestrictionsMap.put(packageName, new Bundle(applicationRestrictions));
    }
docs: Sets the application restrictions of the {@code packageName}.
  
  <p>The new {@code applicationRestrictions} always completely overwrites any existing ones.