Skip to content

Commit dd75a13

Browse files
committed
尝试修复通知面板透明功能在 ColorOS 12 不生效的问题
1 parent 66ed43f commit dd75a13

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,11 @@ object SystemUIHooker : YukiBaseHooker() {
710710
method {
711711
name = "drawRegionBlur"
712712
paramCount = 2
713+
}.remedys {
714+
method {
715+
name = "draw"
716+
paramCount = 2
717+
}
713718
}
714719
beforeHook { modifyNotifyPanelAlpha(instance(), args().last().cast<Drawable>()) }
715720
}

0 commit comments

Comments
 (0)