react-native-update 10.19.3 → 10.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,7 +106,7 @@ public class UpdateModuleImpl {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
private void loadBundleLegacy() {
|
|
109
|
-
final Activity currentActivity = getCurrentActivity();
|
|
109
|
+
final Activity currentActivity = mContext.getCurrentActivity();
|
|
110
110
|
if (currentActivity == null) {
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
@@ -171,7 +171,7 @@ public class UpdateModule extends ReactContextBaseJavaModule {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
private void loadBundleLegacy() {
|
|
174
|
-
final Activity currentActivity = getCurrentActivity();
|
|
174
|
+
final Activity currentActivity = mContext.getCurrentActivity();
|
|
175
175
|
if (currentActivity == null) {
|
|
176
176
|
return;
|
|
177
177
|
}
|