Return START_STICKY from onStartCommand()

The _FLAG_ variant is the input enum, replace it
with the value-equivalent properly typed enum.
This commit is contained in:
Dirk Mueller 2018-01-07 15:46:34 +01:00
parent dc5be358af
commit 9de74f1dff

View File

@ -83,7 +83,7 @@ public class GpodnetSyncService extends Service {
} else {
Log.e(TAG, "Received invalid intent: action argument is null");
}
return START_FLAG_REDELIVERY;
return START_STICKY;
}
@Override