1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Remove shutdown() hack, which does not work any more with dynamic API keys.

This commit is contained in:
Felix Ableitner 2014-09-15 00:32:32 +03:00
parent a375619ed7
commit 84afda30a0

View file

@ -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();
}
}