简体   繁体   English

如何在根植的android设备中删除任务管理器?

[英]how to remove task manager in rooted android device?

I am making an app , that should be running all the time. 我正在制作一个应始终运行的应用程序。 It should not be killed anyhow from task manager. 无论如何,它不应从任务管理器中删除。 I am willing to stop task manager so i rooted my device . 我愿意停止任务管理器,所以我使设备扎根。 Is there anyway to prevent my app from getting killed or removing the task manager. 无论如何,有没有防止我的应用程序被杀死或删除任务管理器的方法。

This may help a bit , add this in your Manifest to the respected activity , atleast it will not show the app running in recents . 这可能会有所帮助,将它添加到您的清单中到受人尊敬的活动中,至少不会显示最近运行的应用程序。

       android:autoRemoveFromRecents="true"
       android:excludeFromRecents="true"
       android:noHistory="true"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM