onStartCommand of STICKY service is not called after restart

Viewed 216

I have a sticky service for updating user status/location.

Android kills my service once in a while and restarts service, this is ok, but the problem is the onStartCommand is not called in these restarts.

Shall I set some specific flag?

0 Answers
Related