@
@
@dancoder2019-06-11 19:52:28
Java
@dancoder, 2019-06-11 19:52:28

Xiaomi is killing my service. What to do?

Good afternoon! I created a service in which I start it again in OnDestroy, thereby making it infinite. On devices like Honor, Samsung - works properly, even after closing from the list of active tasks. But on xiaomi devices, it is destroyed after closing from task list.
What to do? Any ideas, has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-06-11
@Zoominger

I created a service in which I start it again in OnDestroy, thereby making it infinite.

Obviously, different versions of Android have different attitudes to this disgrace. Xiaomi, for example, is right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question