shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java
public int getComponentEnabledSettingFlags(ComponentName componentName) {
    ComponentState state = componentList.get(componentName);
    return state != null ? state.flags : 0;
  }
public int getComponentEnabledSettingFlags(ComponentName componentName) {
    ComponentState state = componentList.get(componentName);
    return state != null ? state.flags : 0;
  }
Return the flags set in call to {@link
android.app.ApplicationPackageManager#setComponentEnabledSetting(ComponentName, int, int)}.

@param componentName The component name.
@return The flags.