From 4b14d4fc869744ea6e53a87b9a46b4b8c05abb44 Mon Sep 17 00:00:00 2001 From: Timeline <53483352+Nep-Timeline@users.noreply.github.com> Date: Tue, 26 May 2026 10:25:36 +0800 Subject: [PATCH] fix: For opush notifications, get the package name through notification. --- .../com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt b/app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt index 6745dcf..2a6878a 100644 --- a/app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt +++ b/app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt @@ -528,7 +528,7 @@ object SystemUIHooker : YukiBaseHooker() { iconView: ImageView, header: Boolean = false ) = runInSafe { - compatCustomIcon(context, isGrayscaleIcon, packageName).also { customTriple -> + compatCustomIcon(context, isGrayscaleIcon, if (nf.isOplusPush) nf.packageName else packageName).also { customTriple -> when { ConfigData.isEnableNotifyIconForceAppIcon -> iconView.apply { /** 重新设置图标 */