Closed cooldroid closed 9 years ago
I will check this. If I understand correctly, system will just return true and original method will NOT be called. Right?
Maybe we can fully replace such method. (using replaceMethod). It would be same as this, just we would do it using Xposed API.
What do you think?
^Hm, we cant replace some methods like this since system needs return value when X option is disabled.
I will test your patch tomorrow.
Yes you correct, replacing the method would cause issue if the option is disabled.
And what about your patch? if option is disabled, I have no idea what will be returned. Just nothing or?
if (isModuleEnabled() && verifySignature) {
param.setResult(true);
return;
}
If the option is disabled the module will continue normally. the "return" statement is inside the module enabled/disabled check.
Right. Merged.
Seems that this merge has been overridden by a recent commit. :)
Fixed :)
Working well for me. Please review and incorporate if you don't see any issues.