From c7fa9ace2ddca56a9f19f396e4c5c3882de78a29 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Tue, 28 Jun 2016 14:52:48 -0700 Subject: [PATCH] remove old method --- .../microsoft/codepush/react/CodePushNativeModule.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java index 95459d98d..9894599ac 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java @@ -461,15 +461,6 @@ public void restartApp(boolean onlyIfUpdateIsPending, Promise promise) { 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);