@Override
        public boolean handleMessage(Message msg) {
            handler.handleMessage(msg);
            onKillMessage(msg);
            return true;
        }
We use this hook to track app process kill event and report to thanox service.
Tested on Android12.
android/android_framework/patch-magisk/patch-framework/src/main/java/github/tornaco/thanox/android/server/patch/framework/hooks/am/AppExitInfoTrackerHooks.java