RuleContext does not actually need to check if a fragment is PlatformConfiguration.
@@ -512,7 +512,6 @@ public final class RuleContext extends TargetContext
public <T extends Fragment> boolean isLegalFragment(
Class<T> fragment, ConfigurationTransition transition) {
return universalFragments.contains(fragment)
- || fragment == PlatformConfiguration.class
|| configurationFragmentPolicy.isLegalConfigurationFragment(fragment, transition);
}
