Skip to content

Commit

Permalink
允许log输出在lsposed
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowine committed Oct 25, 2024
1 parent 843350c commit 5f34fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/cn/lyric/getter/hook/MainHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import de.robv.android.xposed.callbacks.XC_LoadPackage
class MainHook : IXposedHookLoadPackage, IXposedHookZygoteInit {
override fun handleLoadPackage(lpparam: XC_LoadPackage.LoadPackageParam) {
EzXHelper.initHandleLoadPackage(lpparam)
LogTool.init("Lyrics Getter", { BuildConfig.DEBUG })
LogTool.init("Lyrics Getter", { BuildConfig.DEBUG }, BuildConfig.DEBUG)
when (lpparam.packageName) {
"com.android.systemui" -> initHooks(SystemUi)
"com.tencent.qqmusic" -> initHooks(QQMusic)
Expand Down

0 comments on commit 5f34fb9

Please sign in to comment.