Class ShadowSettings.ShadowConfig

java.lang.Object
org.robolectric.shadows.ShadowSettings.ShadowConfig
Enclosing class:
ShadowSettings

@Implements(value=android.provider.Settings.Config.class, isInAndroidSdk=false) public static class ShadowSettings.ShadowConfig extends Object
Shadow for Settings.Config.

This shadow is primarily to support DeviceConfig, which queries Settings.Config. DeviceConfig is pure Java code so it's not necessary to shadow that directly.

The underlying implementation calls into a system content provider. Starting in Android U, the internal logic of Activity is querying DeviceConfig, so to avoid crashes we need to make DeviceConfig a no-op.