I searched but couldn't find it. That's why I had to ask here. My question is:
I have a thread. While the thread is running and the application is in sleep mode, some android phones terminate the program and thread but some phones don't. What can I do in this situation?