Potential crashfix #2382.

This commit is contained in:
Koen J 2025-06-19 11:21:46 +02:00
commit 49ddecdea4

View file

@ -62,7 +62,7 @@ class DownloadService : Service() {
Logger.i(TAG, "onStartCommand"); Logger.i(TAG, "onStartCommand");
synchronized(this) { synchronized(this) {
if(_started) if(_started)
return START_STICKY; return START_NOT_STICKY;
if(!FragmentedStorage.isInitialized) { if(!FragmentedStorage.isInitialized) {
Logger.i(TAG, "Attempted to start DownloadService without initialized files"); Logger.i(TAG, "Attempted to start DownloadService without initialized files");