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

Commit 6080728

Browse files
committed
Addressing feedback
1 parent a1d8e7e commit 6080728

File tree

1 file changed

+3
-3
lines changed
  • android/app/src/main/java/com/microsoft/codepush/react

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static String getBundleUrl(String assetsBundleFileName) {
152152
return currentInstance.getBundleUrlInternal(assetsBundleFileName);
153153
}
154154

155-
private String getBundleUrlInternal(String assetsBundleFileName) {
155+
public String getBundleUrlInternal(String assetsBundleFileName) {
156156
this.assetsBundleFileName = assetsBundleFileName;
157157
String binaryJsBundleUrl = ASSETS_BUNDLE_PREFIX + assetsBundleFileName;
158158
long binaryResourcesModifiedTime = this.getBinaryResourcesModifiedTime();
@@ -381,7 +381,7 @@ public String getName() {
381381

382382
@Override
383383
public void initialize() {
384-
currentInstance.initializeUpdateAfterRestart();
384+
CodePush.this.initializeUpdateAfterRestart();
385385
}
386386

387387
private void loadBundleLegacy() {
@@ -416,7 +416,7 @@ public void run() {
416416
}
417417
catch (ReflectiveOperationException e) {
418418
// The recreation method threw an unknown exception
419-
// so just simply fallback to the old behavior
419+
// so just simply fallback to restarting the Activity
420420
loadBundleLegacy();
421421
}
422422
}

0 commit comments

Comments
 (0)