Commit Graph

109 Commits

Author SHA1 Message Date
30fdbdbcb2 refactor: support monochrome app icon (round) 2025-09-06 22:48:11 +08:00
李太白
058c4534f7 fix:处理通知图标的 “app_package ” 并修复焦点通知图标的颜色 (#241)
* fix:处理通知图标的 “app_package ”并修复焦点通知图标的颜色

此提交解决了两个问题:

1.  **通知图标软件包名称:** 现在,如果通知中的 "app_package" 字符串可用,它将正确使用该字符串,并返回到通知的软件包名称。这可确保在一个应用程序代表另一个应用程序(如系统服务)发送通知时加载正确的图标。
2.  **焦点通知图标颜色:** 焦点通知图标的着色现在可根据通知图标优化配置正确应用,从而防止出现不正确的图标颜色。

Signed-off-by: ghhccghk <2137610394@qq.com>

* fix: 修复焦点通知图标逻辑异常,修复setTint导致无法正确着色

Signed-off-by: ghhccghk <2137610394@qq.com>

* fix: 修复焦点通知反色功能异常

Signed-off-by: ghhccghk <2137610394@qq.com>

* feat: 新增开关强制对焦点通知进行反色

- 新增开关 `ENABLE_FOCUS_NOTIFICATION_FIX`,默认关闭
- 当该开关开启时,强制对焦点通知图标进行反色处理
- 调整了 SystemUIHooker 中对焦点通知图标的反色逻辑,使其在 `ENABLE_FOCUS_NOTIFICATION_FIX` 开启时生效
- 修复了当图标不是灰度图标时,也标记为需要反色的问题

Signed-off-by: ghhccghk <2137610394@qq.com>

* style: some tweaks in SystemUIHooker

---------

Signed-off-by: ghhccghk <2137610394@qq.com>
Co-authored-by: fankesyooni <qzmmcn@163.com>
2025-08-16 20:57:57 +08:00
8a775b3fdd refactor: migrate and update to YukiHookAPI 1.3.0 2025-06-25 23:25:58 +08:00
c5ed4f720f misc: invalidate 2025-06-25 23:25:57 +08:00
914e44942a refactor: migrate and update to YukiHookAPI 1.3.0 2025-06-25 23:22:23 +08:00
01f5c902e9 Revert "feat: custom GitHub Proxy (#208)"
This reverts commit a601739679.
2024-10-03 01:27:14 +08:00
hamjin
a601739679 feat: custom GitHub Proxy (#208)
* feat: Custom GitHub Proxy

Signed-off-by: hamjin <jinham@qq.com>

* refactor: organize text layout

---------

Signed-off-by: hamjin <jinham@qq.com>
Co-authored-by: Fankesyooni <37344460+fankes@users.noreply.github.com>
2024-10-03 00:29:51 +08:00
1f71fbda9a feat: add classic (MIUI) style notification icon replacement 2023-11-03 12:18:18 +08:00
8f01e649fe feat: display HyperOS when decided and add HyperOS description 2023-11-03 11:32:57 +08:00
0c0cf9bfba feat(docs): update YukiHookAPI owner link 2023-10-21 01:18:49 +08:00
d09c11f026 refactor: use new payment code 2023-09-18 00:12:16 +08:00
744d028160 Modify remove prefs cache function and disable prefs cache 2023-04-22 22:32:16 +08:00
49f18ef8c3 Added enable or disable prefs cache function 2023-04-21 02:15:08 +08:00
883325dc2f Added new GitHub proxy url 2023-04-18 00:31:55 +08:00
6fe1f0572c Added new module version update notification function 2023-04-17 23:46:35 +08:00
be8f558bf5 Added notification icon force system color function 2023-04-17 22:42:35 +08:00
c500bdad43 Modify support monet launcher icon in ic_launcher 2023-02-25 21:27:55 +08:00
27cfcbada6 Fix "GitHub" spelling in all files 2023-02-07 05:25:35 +08:00
f0c6dabf76 Modify replace to new placeholder notification icon in SystemUIHooker 2023-02-07 05:21:05 +08:00
d62d0f99a2 Fix some function descriptions in MainActivity, activity_main 2023-02-06 22:32:15 +08:00
b17e39e27c Modify merge to new notification icon rules urls in IconRuleManagerTool, ConfigureActivity, dia_source_from 2023-02-06 02:17:15 +08:00
63e4dd8299 Modify change module debug logs record method and optimize some code in HookEntry, SystemUIHooker, SystemUITool, MainActivity, activity_main 2023-02-05 04:51:15 +08:00
4c8b1b0d53 Added color notification icons placeholder icon function in SystemUIHooker, ConfigData, MainActivity, activity_main 2023-02-05 02:32:15 +08:00
a1819c6e1d Added custom status bar notification icons alpha function in SystemUIHooker, MainActivity, ConfigData, activity_main 2023-02-04 03:11:35 +08:00
b2bb05c4e7 Modify change some descriptions in activity_main 2023-02-04 01:57:15 +08:00
d53c455dd2 Added open MIUI notification style settings function in MainActivity, SystemUITool, activity_main 2023-02-04 00:59:35 +08:00
1ffee75977 Modify support MIUI custom notification icon when enable force app icon function in SystemUIHooker, activity_main 2023-02-02 06:30:35 +08:00
2ff2f735a0 Modify merge notification icon panel functions and remove from notification icon fix panel in SystemUIHooker, MainActivity, activity_main 2023-02-02 05:59:11 +08:00
74743e8d1e Modify change Android 12 notification icon style contents to Material 3 in SystemUIHooker, activity_main 2023-02-02 04:52:35 +08:00
22a1fd63e7 Modify inject module resources to system ui in SystemUIHooker
- Merge app support notification icon type to vector
2023-02-02 04:36:28 +08:00
b7ee52c65b Modify add dynamic refresh system ui function problem descriptions in activity_main 2023-02-02 04:36:27 +08:00
1dd5a899f2 Modify merge all png elements to svg elements 2023-01-27 15:55:16 +08:00
3293b0f412 Modify change some problem question description in activity_main 2023-01-27 15:33:50 +08:00
7f0a951996 Modify change status icon count function description in activity_main 2023-01-27 15:11:28 +08:00
50b32f6357 Modify replace sync url FastGit to 7ED Services in IconRuleManagerTool, dia_source_from 2023-01-27 02:55:09 +08:00
3b174899bc Modify rename ui/view to ui/widget 2023-01-27 00:07:41 +08:00
8499953588 Fix the central color problem of views such as CheckBox 2023-01-16 22:42:48 +08:00
6b18128a57 Merge code 2022-06-08 19:12:10 +08:00
553098f6bf Make UI to Primary Theme 2022-06-08 15:11:33 +08:00
9499727087 Merge DialogBuilderFactory with new code style 2022-06-07 16:55:51 +08:00
30acbff3d5 更新文案 2022-06-04 02:24:47 +08:00
a864d4aa32 Added notify icon custom corner function 2022-05-31 03:49:10 +08:00
45da218cc8 Added notify icon in notify panel used app icon function 2022-05-30 03:22:41 +08:00
72169989f2 Merge code 2022-04-04 12:04:12 +08:00
226d9395b6 Update version to 2.2 2022-03-28 14:01:45 +08:00
0e43a7ce8c Merge code 2022-03-28 13:25:54 +08:00
da1f390d39 增加通知栏快捷磁贴打开在线规则列表功能 2022-03-26 12:26:00 +08:00
9393a87c63 Merge code 2022-03-25 23:47:20 +08:00
2fde4ae833 Merge code 2022-03-25 21:30:04 +08:00
7d4db23346 Merge code 2022-03-25 14:21:20 +08:00