我正在使用sticky service进行后台操作,即使在应用程序是closed的情况下,通过从堆栈中滑动(然后重新启动服务),它在所有手机中都可以正常工作;但是在RedMi Note 3w中,通过从堆栈的滑动方式关闭应用程序时,在RedMi Note 3w中, service is not restarting.我在Note 3上测试了Whats App及其正常工作,因此它意味着WhatsApp能够管理此应用,因此我们如何重新启动在Redmi手机上被杀死的后台服务?
注意::请不要给我MIUM 7的解决方案
MIUI 8 中的解决方案,在设置>权限>自动启动中,您可以允许您的应用自动开始,并且已经允许使用Facebook和WhatsApp,因为默认情况下MIUI 8允许whatsApp和Facebook自动启动,因为它们是非常受欢迎的App品牌
I am using sticky service for background operations and its working fine in all phones even when app is closed by swiping from stack(then service is restart) but in RedMi Note 3w When app is closed by swiping from stack , service is not restarting .I test Whats App and its working fine on Note 3 so it means WhatsApp is able to manage this so how can we restart Background service getting killed on redmi phone?
Note : please don't give me solution for MIUM 7
解决方案in MIUI 8 in setting >Permissions>Autostart you can allow your app to Auto Start and Facebook and WhatsApp are already allowed because MIUI 8 by default allowed auto Start for whatsApp and Facebook as they are very popular App brands
更多推荐
如何重新启动后台服务在Redmi手机上被杀死MIUM 8
发布评论