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 {
|
try {
|
||||||
Class<?> chatUIActivityClass = XposedHelpers.findClass("org.telegram.ui.ChatActivity", lpparam.classLoader);
|
Class<?> chatUIActivityClass = XposedHelpers.findClass("org.telegram.ui.ChatActivity", lpparam.classLoader);
|
||||||
XposedBridge.hookAllMethods(chatUIActivityClass, "addSponsoredMessages", XC_MethodReplacement.returnConstant(null));
|
XposedBridge.hookAllMethods(chatUIActivityClass, "addSponsoredMessages", XC_MethodReplacement.returnConstant(null));
|
||||||
} catch (Throwable throwable) {
|
} catch (Throwable ignored) {
|
||||||
XposedBridge.log("Hook failed for " + lpparam.packageName);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue