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:
parent
dc5be358af
commit
9de74f1dff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user