Skip to content

Commit ca80eb3

Browse files
committed
Remove debugging logs.
`creat` is a typo as well
1 parent 510c407 commit ca80eb3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

zygisk/src/main/kotlin/org/matrix/vector/ParasiticManagerSystemHooker.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,12 @@ class ParasiticManagerSystemHooker : HandleSystemServerProcessHooker.Callback {
6464

6565
// Hook the resolution method to inject our redirection logic
6666
VectorHookBuilder(resolveMethod).intercept { chain ->
67-
Utils.logD("inside resolveMethod, calling proceed")
68-
// 1. Execute the original resolution first
67+
// Execute the original resolution first
6968
val result = chain.proceed()
7069

7170
val intent = chain.args[0] as? Intent ?: return@intercept result
72-
Utils.logD("proceed called, intent ${intent}")
7371

74-
// Check if this intent is meant for the LSPosed Manager
72+
// Check if this intent is meant for the Vector Manager
7573
if (!intent.hasCategory(BuildConfig.ManagerPackageName + ".LAUNCH_MANAGER"))
7674
return@intercept result
7775

@@ -88,7 +86,6 @@ class ParasiticManagerSystemHooker : HandleSystemServerProcessHooker.Callback {
8886
if (originalActivityInfo.packageName != BuildConfig.InjectedPackageName)
8987
return@intercept result
9088

91-
Utils.logD("creat redirectedInfo")
9289
// --- Redirection Logic ---
9390
// We create a copy of the ActivityInfo to avoid polluting the system's cache.
9491
val redirectedInfo =
@@ -110,7 +107,6 @@ class ParasiticManagerSystemHooker : HandleSystemServerProcessHooker.Callback {
110107
// Notify the bridge service that we are about to start the manager
111108
BridgeService.getService()?.preStartManager()
112109

113-
Utils.logD("returning redirectedInfo ${redirectedInfo}")
114110
redirectedInfo
115111
}
116112

0 commit comments

Comments
 (0)