The way we use startService, we
can find that when the return value is START_STICKY, even if the application is closed manually or closed with a shell command, the Service will continue to restart.
When the return value is START_NOT_STICKY, even if you manually close the application or use a shell command to close it, the Service will not be restarted.