In the Android documentation, the Service's "onStartCommand()
" has an intent given as a param
, that according to the docs:
"the Intent
supplied to startService(Intent)
, as given. This may be null if the service is being restarted after its process has gone away, and it had previously returned anything except START_STICKY_COMPATIBILITY
."
However, the return value START_REDELIVER_INTENT
is supposed to return the original intent when restarting a service.
Can anyone explain why an intent
can be null, even if the flag
was set to START_REDELIVER_INTENT
?