code: 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();
    }
docs: Returns all application restrictions of the {@code packageName} in a {@link Bundle}.