diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java index 8f1b38989..430e0cab7 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java @@ -283,7 +283,7 @@ public class ReactContext extends ContextWrapper { * DO NOT HOLD LONG-LIVED REFERENCES TO THE OBJECT RETURNED BY THIS METHOD, AS THIS WILL CAUSE * MEMORY LEAKS. */ - /* package */ @Nullable Activity getCurrentActivity() { + public @Nullable Activity getCurrentActivity() { if (mCurrentActivity == null) { return null; }