Update YukiHookAPI

This commit is contained in:
2022-03-18 14:01:18 +08:00
parent c27f124b25
commit 3e50ca6db7
2 changed files with 3 additions and 3 deletions

View File

@@ -64,8 +64,8 @@ tasks.whenTaskAdded {
dependencies {
compileOnly 'de.robv.android.xposed:api:82'
implementation 'com.highcapable.yukihookapi:api:1.0.5-fix'
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.0.5-fix'
implementation 'com.highcapable.yukihookapi:api:1.0.5.1'
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.0.5.1'
implementation "com.github.topjohnwu.libsu:core:3.1.2"
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.geyifeng.immersionbar:immersionbar:3.2.0'

View File

@@ -585,7 +585,7 @@ class HookEntry : YukiHookXposedInitProxy {
}
beforeHook { isShowNotificationIcons = firstArgs as Boolean }
}.ignoredNoSuchMemberFailure()
}.by { safeOfFalse { NotificationIconContainerClass.clazz.hasField(name = "MAX_STATIC_ICONS") } }
}.by { NotificationIconContainerClass.clazz.hasField(name = "MAX_STATIC_ICONS") }
NotificationHeaderViewWrapperClass.hook {
/** 修复下拉通知图标自动设置回 APP 图标的方法 */
injectMember {