new way to hook

This commit is contained in:
5ec1cff
2024-07-17 22:58:26 +08:00
parent ebdaf87061
commit 5c9fe31ced
3 changed files with 382 additions and 65 deletions

View File

@@ -17,7 +17,7 @@ open class BinderInterceptor : Binder() {
val data = Parcel.obtain()
val reply = Parcel.obtain()
try {
if (!b.transact(0xadbeef, data, reply, 0)) {
if (!b.transact(0xdeadbeef.toInt(), data, reply, 0)) {
Logger.e("remote return false!")
return null
}