I have a started foreground service.
I\'ve taken care to return START_STICKY from onStartCommand.
I\'ve observed that foreground services don\'t run indefinitely bu
It annoyed me that the system wouldn't restart my service until I rebooted the box. Then I found this trick to clear the crash counts much more quickly: