Closed vlakoff closed 1 year ago
Sorry for delay, I had many things to do this week. Please update code according to my review, then I will merge this.
No worries!
I have force-pushed the branch to implement this when
expression.
thanks @vlakoff
As pointed out on https://github.com/accelforce/DevOptsHide/issues/16. This should make DevOptsHide work with more apps.
Thankfully, the
MethodHookParam
object has amethod
property (see in XC_MethodHook.java), so we can make use of [java.lang.reflect.Member.getName()](https://docs.oracle.com/en/java/javase/17/docs/api//java.base/java/lang/reflect/Member.html#getName()).(there are other ways to write this code, so maybe someone could think of a more factorized/performant implementation)