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 @@ -162,7 +162,7 @@ public void run() {
162162 // reload method introduced in RN 0.74 (https://github.com/reactwg/react-native-new-architecture/discussions/174)
163163 // so, we need to check if reload method exists and call it
164164 try {
165- ReactDelegate reactDelegate = CodePushNativeModule .this .getReactDelegate ();
165+ ReactDelegate reactDelegate = CodePushNativeModule .this .resolveReactDelegate ();
166166 if (reactDelegate == null ) {
167167 throw new NoSuchMethodException ("ReactDelegate doesn't have reload method in RN < 0.74" );
168168 }
@@ -211,7 +211,7 @@ private void clearLifecycleEventListener() {
211211 }
212212 }
213213
214- private ReactDelegate getReactDelegate () {
214+ private ReactDelegate resolveReactDelegate () {
215215 ReactActivity currentActivity = (ReactActivity ) getCurrentActivity ();
216216 if (currentActivity == null ) {
217217 return null ;
@@ -517,7 +517,7 @@ protected Void doInBackground(Void... params) {
517517 return null ;
518518 }
519519 }
520-
520+
521521 promise .resolve ("" );
522522 } catch (CodePushUnknownException e ) {
523523 CodePushUtils .log (e );
You can’t perform that action at this time.
0 commit comments