How to make Service that is unremovable even if killed by the system?

后端 未结 3 1551
北荒
北荒 2021-01-25 22:46

I am creating a Blue light filter app. So that, I want to display the view over all the apps. I did it by the following Service,

public class OverlayService exte         


        
3条回答
  •  庸人自扰
    2021-01-25 23:09

    the service must be restarted because android donot allow it. You can use Foreground service to improve your app.

提交回复
热议问题