code: public int getPersistentPreferredActivities(
        List<IntentFilter> outFilters, List<ComponentName> outActivities, String packageName) {
      return getPreferredActivitiesInternal(
          outFilters, outActivities, packageName, persistentPreferredActivities);
    }
docs: Method to retrieve persistent preferred activities as set by {@link
  android.app.admin.DevicePolicyManager#addPersistentPreferredActivity}.
  
  Works the same way as analogous {@link PackageManager#getPreferredActivities} for regular
  preferred activities.