This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public static String getBundleUrl(String assetsBundleFileName) {
152
152
return currentInstance .getBundleUrlInternal (assetsBundleFileName );
153
153
}
154
154
155
- private String getBundleUrlInternal (String assetsBundleFileName ) {
155
+ public String getBundleUrlInternal (String assetsBundleFileName ) {
156
156
this .assetsBundleFileName = assetsBundleFileName ;
157
157
String binaryJsBundleUrl = ASSETS_BUNDLE_PREFIX + assetsBundleFileName ;
158
158
long binaryResourcesModifiedTime = this .getBinaryResourcesModifiedTime ();
@@ -381,7 +381,7 @@ public String getName() {
381
381
382
382
@ Override
383
383
public void initialize () {
384
- currentInstance .initializeUpdateAfterRestart ();
384
+ CodePush . this .initializeUpdateAfterRestart ();
385
385
}
386
386
387
387
private void loadBundleLegacy () {
@@ -416,7 +416,7 @@ public void run() {
416
416
}
417
417
catch (ReflectiveOperationException e ) {
418
418
// 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
420
420
loadBundleLegacy ();
421
421
}
422
422
}
You can’t perform that action at this time.
0 commit comments