fix: updateNotificationIcons on A14 and HyperOS

This commit is contained in:
2023-11-02 09:10:50 +08:00
parent 8a97e38d20
commit db4b418ed4

View File

@@ -856,7 +856,7 @@ object SystemUIHooker : YukiBaseHooker() {
}
/** Hook 更新通知图标事件 */
method {
name { it == "updateNotificationIcons" || it == "onChanged" }
name { it == "updateNotificationIcons" || it.startsWith("onChanged") }
}.hookAll().after {
field { name = "mNotificationIcons" }.get(instance).cast<ViewGroup>()?.also {
/** 重新设置通知图标容器实例 */