mirror of
https://github.com/fankes/ColorOSNotifyIcon.git
synced 2025-09-06 10:45:49 +08:00
尝试修复通知面板透明功能在 ColorOS 12 不生效的问题
This commit is contained in:
@@ -710,6 +710,11 @@ object SystemUIHooker : YukiBaseHooker() {
|
|||||||
method {
|
method {
|
||||||
name = "drawRegionBlur"
|
name = "drawRegionBlur"
|
||||||
paramCount = 2
|
paramCount = 2
|
||||||
|
}.remedys {
|
||||||
|
method {
|
||||||
|
name = "draw"
|
||||||
|
paramCount = 2
|
||||||
|
}
|
||||||
}
|
}
|
||||||
beforeHook { modifyNotifyPanelAlpha(instance(), args().last().cast<Drawable>()) }
|
beforeHook { modifyNotifyPanelAlpha(instance(), args().last().cast<Drawable>()) }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user