Hi guys, could anyone tell me why this "simple" replacement keeps throwing ClassNotFoundErrror.
I have decompiled the Dialer.apk and i can see clearly that the class is there.
Thanks
I have decompiled the Dialer.apk and i can see clearly that the class is there.
Code:
public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable {
if (!"com.android.dialer".equals(lpparam.packageName)) {
return;
}
findAndHookMethod("com.android.dialer.calllog.DefaultVoicemailNotifier", lpparam.classLoader,
"updateNotification", Uri.class,
new XC_MethodReplacement() {
@Override
protected Object replaceHookedMethod(MethodHookParam param)
throws Throwable {
XposedBridge.log("replaced");
return null;
}
});
}
Aucun commentaire:
Enregistrer un commentaire