0

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?

1 Answers1

0

It seems like you need to check your code on different Android versions. Android Documentation stated background api changes.

Also you can look at this question.

Tuğçe Arar
  • 776
  • 5
  • 20