Package org.robolectric.shadows
Class ShadowCompatibility
- java.lang.Object
-
- org.robolectric.shadows.ShadowCompatibility
-
@Implements(value=android.compat.Compatibility.class, isInAndroidSdk=false) public class ShadowCompatibility extends Object
Robolectric shadow to disable CALL_ACTIVITY_RESULT_BEFORE_RESUME using Compatibility's isChangeEnabled.
-
-
Field Summary
Fields Modifier and Type Field Description protected static android.compat.Compatibility
realCompatibility
-
Constructor Summary
Constructors Constructor Description ShadowCompatibility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static boolean
isChangeEnabled(long changeId)
-
-
-
Field Detail
-
realCompatibility
@RealObject protected static android.compat.Compatibility realCompatibility
-
-
Method Detail
-
isChangeEnabled
@Implementation(minSdk=32) protected static boolean isChangeEnabled(long changeId)
-
-