remove old method

This commit is contained in:
Geoffrey Goh
2016-06-28 14:52:48 -07:00
parent b9824b9254
commit c7fa9ace2d

View File

@@ -461,15 +461,6 @@ public class CodePushNativeModule extends ReactContextBaseJavaModule {
promise.resolve(false);
}
@ReactMethod
public void restartApp(boolean onlyIfUpdateIsPending) {
// If this is an unconditional restart request, or there
// is current pending update, then reload the app.
if (!onlyIfUpdateIsPending || mSettingsManager.isPendingUpdate(null)) {
loadBundle();
}
}
@ReactMethod
public void saveStatusReportForRetry(ReadableMap statusReport) {
mTelemetryManager.saveStatusReportForRetry(statusReport);