mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-06 02:35:32 +08:00
fix: support HyperOS of commit(a5066814
) in SystemUIHooker
This commit is contained in:
@@ -1071,8 +1071,12 @@ object SystemUIHooker : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
NotificationContentInflaterInjectorClass?.method {
|
NotificationContentInflaterInjectorClass?.method {
|
||||||
name = "handleAppIcon"
|
name = "handleAppIcon"
|
||||||
param(RemoteViewsClass, NotificationClass)
|
/**
|
||||||
}?.ignored()?.hook()?.intercept()
|
* MIUI 14 ([RemoteViewsClass], [NotificationClass])
|
||||||
|
* HyperOS ([RemoteViewsClass], [NotificationClass], [ContextClass])
|
||||||
|
*/
|
||||||
|
paramCount(numRange = 2..3)
|
||||||
|
}?.hook()?.intercept()
|
||||||
/**
|
/**
|
||||||
* 尝试修复从 MIUI 14 开始出现的一个崩溃问题
|
* 尝试修复从 MIUI 14 开始出现的一个崩溃问题
|
||||||
* 由于模块注入推送的通知没有对 [StatusBarNotification] 设置 TAG 会导致其空指针
|
* 由于模块注入推送的通知没有对 [StatusBarNotification] 设置 TAG 会导致其空指针
|
||||||
|
Reference in New Issue
Block a user