In the documentation for Android, the " onStartCommand() " service has the intent indicated as param , which according to the docs:
"The Intent specified in startService(Intent) as specified. It can be null if the service restarts after its process has left and it previously returned anything other than START_STICKY_COMPATIBILITY ."
However, the return value START_REDELIVER_INTENT should return the original intention when the service was restarted.
Can someone explain why Intent can be null even if flag set to START_REDELIVER_INTENT ?
source share