We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17daf05 commit 9283ad2Copy full SHA for 9283ad2
1 file changed
android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java
@@ -171,7 +171,7 @@ public void onDownloadFailed(Throwable error) {
171
}
172
173
private void loadBundleLegacy() {
174
- final Activity currentActivity = getCurrentActivity();
+ final Activity currentActivity = mContext.getCurrentActivity();
175
if (currentActivity == null) {
176
return;
177
0 commit comments