mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-05 10:15:31 +08:00
fix: handleAppIcon on A14 and HyperOS
This commit is contained in:
@@ -931,9 +931,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
/** 修改 MIUI 风格通知栏的通知图标 */
|
/** 修改 MIUI 风格通知栏的通知图标 */
|
||||||
MiuiNotificationViewWrapperClass?.apply {
|
MiuiNotificationViewWrapperClass?.apply {
|
||||||
method {
|
constructor().hook().after {
|
||||||
name = "handleAppIcon"
|
|
||||||
}.hook().replaceUnit {
|
|
||||||
field { name = "mAppIcon" }.get(instance).cast<ImageView>()?.clone {
|
field { name = "mAppIcon" }.get(instance).cast<ImageView>()?.clone {
|
||||||
compatNotifyIcon(
|
compatNotifyIcon(
|
||||||
context = context,
|
context = context,
|
||||||
|
Reference in New Issue
Block a user