Skip to content

Commit

Permalink
fix: #1032 dexkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevtinge committed Dec 9, 2024
1 parent dcbc65f commit f85c9f9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.github.kyuubiran.ezxhelper.HookFactory.`-Static`.createHooks
import com.github.kyuubiran.ezxhelper.finders.MethodFinder.`-Static`.methodFinder
import com.sevtinge.hyperceiler.module.base.*
import com.sevtinge.hyperceiler.module.base.dexkit.*
import com.sevtinge.hyperceiler.module.hook.systemui.statusbar.model.public.MobileClass.miuiMobileIconBinder
import com.sevtinge.hyperceiler.utils.*
import com.sevtinge.hyperceiler.utils.blur.MiBlurUtilsKt.addMiBackgroundBlendColor
import com.sevtinge.hyperceiler.utils.blur.MiBlurUtilsKt.clearMiBackgroundBlendColor
Expand All @@ -52,15 +53,15 @@ object DockCustomNew : BaseHook() {
}

private val showAnimationLambda by lazy {
DexKit.getDexKitBridge("ShowAnimationLambda") { bridge ->
DexKit.findMember("ShowAnimationLambda") { bridge ->
bridge.findMethod(
FindMethod.create().matcher(
MethodMatcher.create()
.declaredClass("com.miui.home.launcher.compat.UserPresentAnimationCompatV12Phone")
.name("lambda\$showUserPresentAnimation", StringMatchType.StartsWith)
)
).singleOrNull()?.getMethodInstance(lpparam.classLoader)
} as Method?
).singleOrNull()
} as Method
}

private var mDockBlur: Any? = null
Expand Down

0 comments on commit f85c9f9

Please sign in to comment.