Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d8882e4 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Add some logging for buggy calls to AM

Log which uid/pid/transactioncode caused a problem in
ActivityManagerService.

Bug: 38130899
Test: N/A
Change-Id: Ice50c472768780b8864651fb31d972094a4993c1
parent 1c38d294
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2908,7 +2908,10 @@ public class ActivityManagerService extends IActivityManager.Stub
            // The activity manager only throws security exceptions, so let's
            // log all others.
            if (!(e instanceof SecurityException)) {
                Slog.wtf(TAG, "Activity Manager Crash", e);
                Slog.wtf(TAG, "Activity Manager Crash."
                        + " UID:" + Binder.getCallingUid()
                        + " PID:" + Binder.getCallingPid()
                        + " TRANS:" + code, e);
            }
            throw e;
        }