diff --git a/android/app/src/main/java/com/facebook/react/uiapp/RNTesterActivity.java b/android/app/src/main/java/com/facebook/react/uiapp/RNTesterActivity.java index ccb6aec0b7a..e7a6e8219da 100644 --- a/android/app/src/main/java/com/facebook/react/uiapp/RNTesterActivity.java +++ b/android/app/src/main/java/com/facebook/react/uiapp/RNTesterActivity.java @@ -20,9 +20,9 @@ public class RNTesterActivity extends ReactActivity { public static class RNTesterActivityDelegate extends ReactActivityDelegate { private static final String PARAM_ROUTE = "route"; private Bundle mInitialProps = null; - private final @Nullable Activity mActivity; + private final @Nullable ReactActivity mActivity; - public RNTesterActivityDelegate(Activity activity, String mainComponentName) { + public RNTesterActivityDelegate(ReactActivity activity, String mainComponentName) { super(activity, mainComponentName); this.mActivity = activity; }