From f88c9d63828e975a9792969e27accd851ead3e86 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Tue, 6 Feb 2018 15:03:13 -0800 Subject: [PATCH] Remove unused method Summary: Removes `BundleDownloader#cancelDownloadBundleFromURL` Reviewed By: pakoito Differential Revision: D6900903 fbshipit-source-id: d9297344d6296d79a984aeecb3e014c9ed23a165 --- .../com/facebook/react/devsupport/BundleDownloader.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.java b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.java index 9217bc87b..6cf6cb14e 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.java +++ b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.java @@ -198,13 +198,6 @@ public class BundleDownloader { }); } - public void cancelDownloadBundleFromURL() { - if (mDownloadBundleFromURLCall != null) { - mDownloadBundleFromURLCall.cancel(); - mDownloadBundleFromURLCall = null; - } - } - private void processBundleResult( String url, int statusCode,