shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java
public int getPersistentPreferredActivities(
      List<IntentFilter> outFilters, List<ComponentName> outActivities, String packageName) {
    return getPreferredActivitiesInternal(
        outFilters, outActivities, packageName, persistentPreferredActivities);
  }
public int getPersistentPreferredActivities(
      List<IntentFilter> outFilters, List<ComponentName> outActivities, String packageName) {
    return getPreferredActivitiesInternal(
        outFilters, outActivities, packageName, persistentPreferredActivities);
  }
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.