<分区>
有没有办法从 Android 4 默认任务管理器中隐藏 android 应用程序
我不希望用户在列表中看到我的应用
有什么想法吗?
<分区>
有没有办法从 Android 4 默认任务管理器中隐藏 android 应用程序
我不希望用户在列表中看到我的应用
有什么想法吗?
最佳答案
将此添加到 list 文件中 Activity 的 Activity 标签,您不想在最近的应用程序列表中显示:
android:excludeFromRecents="true"
Whether or not the task initiated by this activity should be excluded from the list of recently used applications ("recent apps"). That is, when this activity is the root activity of a new task, this attribute determines whether the task should not appear in the list of recent apps. Set "true" if the task should be excluded from the list; set "false" if it should be included. The default value is "false".
关于java - 从任务管理器中隐藏 Android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18796015/