mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 17:55:34 +08:00
加入旧版状态栏小图标 Hook 方式日志记录 TAG
This commit is contained in:
@@ -352,7 +352,7 @@ class HookMain : IXposedHookLoadPackage {
|
||||
logD(
|
||||
content = "GetSmallIconOnSet -> " +
|
||||
"hook Custom AppIcon [pkgName] ${notifyInstance.opPkgName} " +
|
||||
"[appName] ${findAppName(notifyInstance)}\n" +
|
||||
"[appName] ${findAppName(notifyInstance)} " +
|
||||
"[legacyWay] $isLegacyWay"
|
||||
) { param.result = customIcon }
|
||||
/** 若不是灰度图标自动处理为圆角 */
|
||||
@@ -360,7 +360,7 @@ class HookMain : IXposedHookLoadPackage {
|
||||
logD(
|
||||
content = "GetSmallIconOnSet -> " +
|
||||
"hook Color AppIcon [pkgName] ${notifyInstance.opPkgName} " +
|
||||
"[appName] ${findAppName(notifyInstance)}\n" +
|
||||
"[appName] ${findAppName(notifyInstance)} " +
|
||||
"[legacyWay] $isLegacyWay"
|
||||
) {
|
||||
param.result = Icon.createWithBitmap(
|
||||
|
Reference in New Issue
Block a user