Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add override of getString method #19

Merged
merged 2 commits into from
Dec 30, 2022
Merged

Conversation

vlakoff
Copy link
Contributor

@vlakoff vlakoff commented Dec 21, 2022

As pointed out on #16. This should make DevOptsHide work with more apps.

Thankfully, the MethodHookParam object has a method property (see in XC_MethodHook.java), so we can make use of java.lang.reflect.Member.getName().

(there are other ways to write this code, so maybe someone could think of a more factorized/performant implementation)

@kyori19
Copy link
Member

kyori19 commented Dec 29, 2022

Sorry for delay, I had many things to do this week. Please update code according to my review, then I will merge this.

@vlakoff
Copy link
Contributor Author

vlakoff commented Dec 29, 2022

No worries!

I have force-pushed the branch to implement this when expression.

@vlakoff vlakoff requested a review from kyori19 December 29, 2022 23:53
@kyori19
Copy link
Member

kyori19 commented Dec 30, 2022

thanks @vlakoff

@kyori19 kyori19 merged commit 81df2f6 into accelforce:master Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants