fix: block coloros 15 fixSmallIcon method (#78)

* fix: block coloros 15 fixSmallIcon method

* fix: hook error

* feat: complete ColorOS 15 support

* docs: update README

---------

Co-authored-by: fankesyooni <qzmmcn@163.com>
This commit is contained in:
YuSaki丶Kanade
2025-05-29 22:12:27 +08:00
committed by GitHub
parent d26f68c1a7
commit 492d0dad67
6 changed files with 73 additions and 19 deletions

View File

@@ -35,6 +35,13 @@ This project will not be adapted i18n, please stay tuned for my new projects in
- 建议在不低于 ColorOS 11 的版本上使用
## 注意事项
由于 ColorOS 15 版本的系统性通知图标行为变更,系统强制在通知图标初始化阶段就将图标强制替换为 APP 彩色图标进行破坏,所以目前加入了 “系统框架”
作用域如果在模块安装后没有自动勾选此作用域请手动进行勾选并重新启动系统以修复此破坏行为ColorOS 15 以下版本的系统无需勾选。
感谢 [Nep-Timeline](https://github.com/Nep-Timeline) 提供的解决方案。
## 历史背景
继 MIUI 之后的第二大系统 ColorOS 虽然支持原生通知图标,但是第三方推送五颜六色的图标系统并没有做适配,甚至系统自己的图标都是彩色的,极其不友好。