当前位置:网站首页>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)
边栏推荐
- OAID是什么
- CF1527D MEX Tree(mex&树&容斥)
- Notes for xpath getting node with namespace
- idea removes spark logs
- token 过期后,如何自动续期?
- 职场漫谈:为什么越是内卷的行业越有人争着抢着往里冲?好奇怪的说...
- MySQL【窗口函数】【共用表表达式】
- Crawler - basic use of selenium, no interface browser, other uses of selenium, cookies of selenium, crawler cases
- 【Web技术】1401- 图解 Canvas 入门
- 企业级优化
猜你喜欢
职场漫谈:为什么越是内卷的行业越有人争着抢着往里冲?好奇怪的说...
Theory 1: Deep Learning - Detailed Explanation of the LetNet Model
零基础可以转行软件测试吗 ?这篇文章告诉你
考研上岸又转行软件测试,从5k到13k完美逆袭,杭州校区小哥哥拒绝平庸终圆梦!
节省50%成本!京东云重磅发布新一代混合CDN产品
开发者独立搭建一个跨模态搜索应用有多难?
【历史上的今天】8 月 4 日:第一位图灵奖女性得主;NVIDIA 收购 MediaQ;首届网络安全挑战大赛完成
第六届未来网络发展大会,即将开幕!
[LeetCode] 38. Appearance sequence
X射线掠入射聚焦反射镜
随机推荐
如何才能有效、高效阅读?猿辅导建议“因材因时施教”
利用决策树找出最优特征组合
集合划分差最小问题(01背包)
How to install postgresql and configure remote access in ubuntu environment
vim common operation commands
MySQL【窗口函数】【共用表表达式】
How to Identify Asynchronous I/O Bottlenecks
NPDP|作为产品经理,如何快速提升自身业务素养?
谷歌插件.crx文件下载后被自动删除的解决方法
C# 动态加载卸载 DLL
Google plug-in. Download contents file is automatically deleted after solution
实际工作中的高级技术(训练加速、推理加速、深度学习自适应、对抗神经网络)
如何在ubuntu环境下安装postgresql并配置远程访问
华为手机切换屏幕效果_华为p40页面切换效果怎么换
快解析结合千方百剂
oracle+RAC+linux5.1所需要安装的包
郑轻新生校赛和中工选拔赛题解
解题-->在线OJ(十八)
爬虫——selenium基本使用、无界面浏览器、selenium的其他用法、selenium的cookie、爬虫案例
[LeetCode] 38. Appearance sequence