当前位置:网站首页>AOSP built-in APP franchise rights white list
AOSP built-in APP franchise rights white list
2022-08-04 14:31:00 【Just_Paranoid】
特许权限白名单
https://source.android.google.cn/devices/tech/config/perms-whitelist?hl=zh-cn
privapp-permissions.xml A file can only grant or deny permissions to a privileged app if it is on the same partition as the app.例如,如果 /vendor An application on the partition requests privileged permissions,only by the same location /vendor 上的 privapp-permissions.xml document to approve or deny the request.
frameworks/base/data/etc/privapp-permissions-platform.xml
报错:
07-12 11:20:40.721 20100 20100 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions allowlist: {
com.freeme.manager (/system/priv-app/FreemeManager): android.permission.WRITE_SECURE_SETTINGS, com.freeme.healthcontrol (/system/priv-app/FreemeHealthControl): android.permission.WRITE_SECURE_SETTINGS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.MANAGE_USERS, com.freeme.multiapp (/system/priv-app/FreemeMultiApp): android.permission.INTERACT_ACROSS_USERS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.LOCAL_MAC_ADDRESS, com.freeme.manager (/system/priv-app/FreemeManager): android.permission.FORCE_STOP_PACKAGES, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.CHANGE_CONFIGURATION, com.freeme.manager (/system/priv-app/FreemeManager): android.permission.BATTERY_STATS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.SET_TIME_ZONE, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.WRITE_SECURE_SETTINGS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.BACKUP, com.freeme.taskbar (/system/priv-app/FreemeMultiWindow): android.permission.WRITE_SECURE_SETTINGS, com.freeme.manager (/system/priv-app/FreemeManager): android.permission.GET_APP_OPS_STATS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.READ_PRIVILEGED_PHONE_STATE, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.INTERACT_ACROSS_USERS, com.freeme.healthcontrol (/system/priv-app/FreemeHealthControl): android.permission.PACKAGE_USAGE_STATS, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.STATUS_BAR, com.freeme.manager (/system/priv-app/FreemeManager): android.permission.DELETE_PACKAGES, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.GET_ACCOUNTS_PRIVILEGED, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.freeme.taskbar (/system/priv-app/FreemeMultiWindow): android.permission.FORCE_STOP_PACKAGES, com.freeme.setupwizard (/system/priv-app/FreemeSetupWizard): android.permission.SET_TIME, com.freeme.manager (/system/priv-app/FreemeManager): android.permission.UPDATE_APP_OPS_STATS}
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4560)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$800(PermissionManagerService.java:194)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.onSystemReady(PermissionManagerService.java:5040)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:24541)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2631)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:883)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:614)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
07-12 11:20:40.721 20100 20100 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:985)
边栏推荐
- [in-depth study of 4 g / 5 g / 6 g project - 50] : URLLC - 16 - the 3 GPP URLLC agreement, specification, technical principle of depth interpretation - 10 - high reliability technology - 1 - low codin
- 16、学习MySQL 正则表达式
- eNSP-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
- Almost all known protein structures in the world are open sourced by DeepMind
- word2003按空格键为什么会出现小数点
- 谷歌插件.crx文件下载后被自动删除的解决方法
- 化算力为战力:宁夏中卫的数字化转型启示录
- 代码随想录笔记_动态规划_1049最后一块石头的重量II
- Technology sharing | Description of the electronic fence function in the integrated dispatching system
- Google plug-in. Download contents file is automatically deleted after solution
猜你喜欢
随机推荐
杭电校赛(逆袭指数)
Redis 复习计划 - Redis主从数据一致性和哨兵机制
理论篇1:深度学习之----LetNet模型详解
vim common operation commands
量化细胞内的信息流:机器学习时代下的研究进展
OAID是什么
【历史上的今天】8 月 4 日:第一位图灵奖女性得主;NVIDIA 收购 MediaQ;首届网络安全挑战大赛完成
自监督学习未来是掩码自编码器?KAIST最新《自监督学习掩码自编码器》研究进展
Cisco-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
CF1527D MEX Tree (mex & tree & inclusive)
Set partition minimum difference problem (01 knapsack)
Android Sqlite3基本命令
2042. 检查句子中的数字是否递增-力扣双百代码-设置前置数据
【Web技术】1401- 图解 Canvas 入门
[LeetCode] 38. Appearance sequence
零基础可以转行软件测试吗 ?这篇文章告诉你
基于 Next.js实现在线Excel
化算力为战力:宁夏中卫的数字化转型启示录
爬虫——动作链、xpath、打码平台使用
ASA归因:如何评估关键词的投放价值









