LSPosed / LSPatch

LSPatch: A non-root Xposed framework extending from LSPosed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] On some app same method is getting hooked twice

harshitshah4 opened this issue · comments

Steps to reproduce/复现步骤

  1. Create an Xposed module
  2. Hooked any methods, I had hooked android.media.Imagereader#newInstance
  3. 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

Logs/日志

log.txt