commit | 5b76c16cca1984209e838ada4d79e370d7fda431 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Mar 07 14:47:16 2019 -0800 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Fri Mar 08 02:28:16 2019 +0000 |
tree | f888f41cce968cd10cfd59b5ff045ef121cfd106 | |
parent | 74ab975b652456ebecc04e3a385df0a2dec1affb [diff] |
Make simple-force-redefine search all loaded classes The agent would previously only be capable of redefining classes in the system-class-loader. This is an annoying restriction so it was removed by having the agent check all loaded classes for the class to be redefined. Test: adb shell am attach-agent $(adb shell pidof com.antonioleiva.bandhookkotlin) /data/local/tmp/libforceredefine.so=/data/local/tmp/classlist Change-Id: I8a5266824346b3efe0a9e050b64efc3adb5ed94d