解读 Android 12 首个开发者预览版
发布于 2021-10-12 08:51
引言
Android 12行为变更:面向所有应用
用户体验升级
沉浸式手势导航改进
隐私/安全保护增强
MAC 地址权限限制
未被信任的触摸事件将被阻止
应用不能关闭系统对话框
E ActivityTaskManager Permission Denial: \
android.intent.action.CLOSE_SYSTEM_DIALOGS broadcast from \
com.package.name requires android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS, \
dropping broadcast.
Android 12行为变更:针对Target = 12的应用
自定义通知栏




隐私/安全
WebView 中的SameSite cookie行为
ADB backup 限制
组件需要添加 exported 配置
Targeting S+ (version 10000 and above) requires that an explicit value for \
android:exported be defined when intent filters are present
Pending intents 必须声明意图
性能
前台服务启动限制
ForegroundService通知延迟
通知跳转
Indirect notification activity start (trampoline) from PACKAGE_NAME, \this should be avoided for performance reasons.
总结

https://developer.android.google.cn/about/versions/12
*本文图片来源于Android官网
code小生
、转发给你的朋友,谢谢~本文来自网络或网友投稿,如有侵犯您的权益,请发邮件至:aisoutu@outlook.com 我们将第一时间删除。
相关素材