eleme / lancet

A lightweight and fast AOP framework for Android App and SDK developers
2.13k stars 335 forks source link

lancet支持在应用中hook ActivityManagerService中的方法吗 #60

Open 1649900265 opened 2 years ago

1649900265 commented 2 years ago

lancet支持在应用中hook ActivityManagerService中的方法吗,比如 @Proxy("handleApplicationCrash") @TargetClass("com.android.server.am.ActivityManagerService ") public void handleApplicationCrash(IBinder app, ApplicationErrorReport.CrashInfo crashInfo){ Log.v("handleApplicationCrash", JSON.toJSONString(crashInfo)); Origin.callVoid(); }