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

Commit c7fa9ac

Browse files
committed
remove old method
1 parent b9824b9 commit c7fa9ac

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -461,15 +461,6 @@ public void restartApp(boolean onlyIfUpdateIsPending, Promise promise) {
461461
promise.resolve(false);
462462
}
463463

464-
@ReactMethod
465-
public void restartApp(boolean onlyIfUpdateIsPending) {
466-
// If this is an unconditional restart request, or there
467-
// is current pending update, then reload the app.
468-
if (!onlyIfUpdateIsPending || mSettingsManager.isPendingUpdate(null)) {
469-
loadBundle();
470-
}
471-
}
472-
473464
@ReactMethod
474465
public void saveStatusReportForRetry(ReadableMap statusReport) {
475466
mTelemetryManager.saveStatusReportForRetry(statusReport);

0 commit comments

Comments
 (0)