fix: handleAppIcon on A14 and HyperOS

This commit is contained in:
2023-11-02 09:18:12 +08:00
parent 25a23d7e1a
commit d330510788

View File

@@ -931,9 +931,7 @@ object SystemUIHooker : YukiBaseHooker() {
}
/** 修改 MIUI 风格通知栏的通知图标 */
MiuiNotificationViewWrapperClass?.apply {
method {
name = "handleAppIcon"
}.hook().replaceUnit {
constructor().hook().after {
field { name = "mAppIcon" }.get(instance).cast<ImageView>()?.clone {
compatNotifyIcon(
context = context,