android - 如何使应用程序无法从 Launcher3 中移除?
问题描述
这是我当前的默认设置:
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
<!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
<!-- Messaging, Email, Browser, [All Apps], Music, Gallery, Camera -->
<resolve
launcher:container="-101"
launcher:screen="3"
launcher:x="0"
launcher:y="0" >
<favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=my.app/my.app.main;end" />
</resolve>
</favorites>
我想让收藏夹无法从启动器中删除。
解决方案
推荐阅读
- java - 在函数 fromJson 之前向类注入一些属性
- java - dl4j -paragraph2vec 中的标签机制是什么?
- javascript - 如果通过 XHR 从客户端 JS 函数调用 Express,则不会在浏览器中呈现页面
- javascript - 在处理递归时,使用 Promises 的 reduce 模式的替代方案是什么?
- ant - 仪表 | 从 jtl 文件中获取样本的通过/失败计数
- mysql - 基于重复值更新字段
- c# - 如何在 .net 核心中记录自定义 ado.net SQL 查询?
- c - 后缀表达式(类型名称){initializer-list}
- hadoop - 如何使用 Hadoop api 判断文件是否为空?
- webgl - 有没有办法使用异步函数将数据(缓冲区数据)并行传递给 gpu?