Remove error log
This commit is contained in:
parent
abb5b232db
commit
8a06e6c411
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ public class MainHook implements IXposedHookLoadPackage {
|
|||
try {
|
||||
Class<?> chatUIActivityClass = XposedHelpers.findClass("org.telegram.ui.ChatActivity", lpparam.classLoader);
|
||||
XposedBridge.hookAllMethods(chatUIActivityClass, "addSponsoredMessages", XC_MethodReplacement.returnConstant(null));
|
||||
} catch (Throwable throwable) {
|
||||
XposedBridge.log("Hook failed for " + lpparam.packageName);
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue