How to detect if user force stop my service

904 views Asked by At

I need to detect if the user force stop my service (from application manager). In onDestroy() I need to implement different function when service stopped by the user("force stop") or by the system(low memory)/reboot.

0

There are 0 answers