当前位置:网站首页>AOSP内置APP特许权限白名单
AOSP内置APP特许权限白名单
2022-08-04 14:28:00 【Just_Paranoid】
特许权限白名单
https://source.android.google.cn/devices/tech/config/perms-whitelist?hl=zh-cn
privapp-permissions.xml
文件只有在与特权应用位于同一分区时才能授予或拒绝授予该应用权限。例如,如果 /vendor
分区上的应用请求特许权限,则只能由同样位于 /vendor
上的 privapp-permissions.xml
文件来同意或拒绝该请求。
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)
边栏推荐
- 利用决策树找出最优特征组合
- 中大型商业银行堡垒机升级改造就用行云管家!必看!
- JCMsuite应用:倾斜平面波传播透过光阑的传输
- leetcode 48. Rotate Image (Medium)
- 企业级优化
- centos7安装mysql急速版
- Rust 从入门到精通04-变量
- How to find the location of a pdf file in endnote literature
- [Problem solving] QT update component appears "To continue this operation, at least one valid and enabled repository is required"
- 期货开户之前要谈好最低手续费和交返
猜你喜欢
随机推荐
用了TCP协议,就一定不会丢包吗?
【 HMS core 】 【 Media 】 online video editing service 】 【 material can't show, or network anomalies have been Loading state
idea永久激活教程(新版)
并发程序的隐藏杀手——假共享(False Sharing)
token 过期后,如何自动续期?
自监督学习未来是掩码自编码器?KAIST最新《自监督学习掩码自编码器》研究进展
Almost all known protein structures in the world are open sourced by DeepMind
zabbix自定义图形
Qt的QItemDelegate使用
LM2596有没有可以替代的?LM2576可以
G.登山小分队(暴力&dfs)
CCF GLCC正式开营|九州云开源专家携丰厚奖金,助力高校开源推广
Unity插件:使用PopulationSystem制作行走交流的路人
化算力为战力:宁夏中卫的数字化转型启示录
Fuse bit of AVR study notes
化繁为简,聊一聊复制状态机系统架构抽象
AVR学习笔记之熔丝位
异步编程概览
南瓜科学产品升级 开启益智探索新篇章
[Opportunity Enlightenment-60]: "Soldiers, Stupid Ways"-1- Opening: "Death" and "Life" are the way of heaven