mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-06 02:35:32 +08:00
fix: updateNotificationIcons on A14 and HyperOS
This commit is contained in:
@@ -856,7 +856,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
/** Hook 更新通知图标事件 */
|
/** Hook 更新通知图标事件 */
|
||||||
method {
|
method {
|
||||||
name { it == "updateNotificationIcons" || it == "onChanged" }
|
name { it == "updateNotificationIcons" || it.startsWith("onChanged") }
|
||||||
}.hookAll().after {
|
}.hookAll().after {
|
||||||
field { name = "mNotificationIcons" }.get(instance).cast<ViewGroup>()?.also {
|
field { name = "mNotificationIcons" }.get(instance).cast<ViewGroup>()?.also {
|
||||||
/** 重新设置通知图标容器实例 */
|
/** 重新设置通知图标容器实例 */
|
||||||
|
Reference in New Issue
Block a user