From 84afda30a0b3166a8beafd8b1d949fc7bd8bd418 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 15 Sep 2014 00:32:32 +0300 Subject: [PATCH] Remove `shutdown()` hack, which does not work any more with dynamic API keys. --- .../nutomic/syncthingandroid/syncthing/SyncthingService.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index 67acf8f4..303f89f9 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -245,11 +245,6 @@ public class SyncthingService extends Service { }); registerOnWebGuiAvailableListener(mApi); Log.i(TAG, "Web GUI will be available at " + mConfig.getWebGuiUrl()); - - // HACK: Make sure there is no syncthing binary left running from an improper - // shutdown (eg Play Store update). - // NOTE: This will log an exception if syncthing is not actually running. - mApi.shutdown(); updateState(); } }