[Bug] On some app same method is getting hooked twice
harshitshah4 opened this issue · comments
Harshit Shah commented
Steps to reproduce/复现步骤
- Create an Xposed module
- Hooked any methods, I had hooked
android.media.Imagereader#newInstance
- Hooked Methods were getting called twice
Same is not happening with other apps.
Can't share app as its an internal app. I have attached the logs, in that you can see Inside Image Reader newInstance
log coming twice, whereas it should have come only once.
Not sure if its bug with LSPatch or LSPosed or something else.
Expected behaviour/预期行为
Methods should not be hooked twice.
Actual behaviour/实际行为
Methods are getting hooked twice.
Xposed Module List/Xposed 模块列表
Custom module, but also happening with https://github.com/w2016561536/android_virtual_cam
LSPatch version/LSPatch 版本
v0.5.1-382
Android version/Android 版本
12.0
Shizuku version/Shizuku 版本
N/A
Version requirement/版本要求
- I am using latest debug CI version of LSPatch and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
Apk file/Apk 文件
No response