Android Kills Background Services in Xiaomi, Huawei etc

后端 未结 2 1049
[愿得一人]
[愿得一人] 2021-01-25 00:53

I need to make my service unstoppable. I tried to return START_STICKY on start command, it works well on emulator but, when remove the app from task manager on my device (Xiaomi

2条回答
  •  感动是毒
    2021-01-25 01:32

    Please take a look here. I had same problem and, after lots of research, I figured it out: You must white-list your app.

提交回复
热议问题