mirror of
https://github.com/fankes/ColorOSNotifyIcon.git
synced 2025-09-06 02:35:41 +08:00
Merge code
This commit is contained in:
@@ -330,7 +330,7 @@ class SystemUIHooker : YukiBaseHooker() {
|
||||
var customPair: Pair<Bitmap?, Int>? = null
|
||||
when {
|
||||
/** 替换系统图标为 Android 默认 */
|
||||
(packageName == "android" || packageName == "com.android.systemui") && !isGrayscaleIcon ->
|
||||
(packageName == "android" || packageName == SYSTEMUI_PACKAGE_NAME) && !isGrayscaleIcon ->
|
||||
customPair = Pair(if (isUpperOfAndroidS) IconPackParams.android12IconBitmap else IconPackParams.android11IconBitmap, 0)
|
||||
/** 替换自定义通知图标 */
|
||||
prefs.getBoolean(ENABLE_NOTIFY_ICON_FIX, default = true) -> run {
|
||||
|
Reference in New Issue
Block a user