1.2K Star 6.3K Fork 5.3K

OpenHarmony / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
changelogs-ans.md 668 Bytes
一键复制 编辑 原始数据 按行查看 历史
时睿 提交于 2024-04-02 15:47 . release 4.1

事件通知变更说明

cl.ans.1 事件通知子系统isRemoveAllowed权限变更

访问级别

系统接口

变更原因

通知的isRemoveAllowed属性即不可移除属性,需要进行权限管控。

变更影响

该变更为不兼容变更。 使用isRemoveAllowed属性时,开发者需提前申请ohos.permission.SET_UNREMOVABLE_NOTIFICATION

API Level

11

变更发生版本

从Openharmony SDK 4.1.5.5 开始

变更的接口/组件

isRemoveAllowed增加权限ohos.permission.SET_UNREMOVABLE_NOTIFICATION

适配指导

开发者需申请权限适配 变更后需要申请ohos.permission.SET_UNREMOVABLE_NOTIFICATION

其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs
OpenHarmony-4.1-Release

搜索帮助