Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit a05b064

Browse files
committed
Rename argument
1 parent 99017f5 commit a05b064

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ private boolean isReactApplication(Context context) {
7979
return false;
8080
}
8181

82-
private void loadBundleLegacy(final Activity activity) {
82+
private void loadBundleLegacy(final Activity currentActivity) {
8383
mCodePush.invalidateCurrentInstance();
8484

85-
activity.runOnUiThread(new Runnable() {
85+
currentActivity.runOnUiThread(new Runnable() {
8686
@Override
8787
public void run() {
88-
activity.recreate();
88+
currentActivity.recreate();
8989
}
9090
});
9191
}

0 commit comments

Comments
 (0)