My Service is executing onDestroy()
raised by calling stopSelf()
. I am doing a longer lasting clean up operation (can be 10, 30 or 90 seconds) in onDestroy()
. What happens, if my Service gets started now?
- Will Android create a new Instance of the Service?
- Will the
onStartCommand()
of the current service get called? - Something else happens?