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:
parent
a375619ed7
commit
84afda30a0
1 changed files with 0 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue