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

Commit 85930a32 authored by mattgilbride's avatar mattgilbride
Browse files

Fix: update Binder#getCallingUidOrWtf to use wtfStack

Change I11ea3fdf889689d76211506e81420e694238ee68 introduced
Binder#getCallingUidOrWtf.

It should have used Log.wtfStack instead of Log.wtf.  The stack trace is
important for diagnosing the origin of a given binder call.

Bug: 252975769
Test: TH
Change-Id: I6946b1aea536f4b662ffffe8024dbc54d3dc36e0
parent e5a82fc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ public class Binder implements IBinder {
     */
    public static final int getCallingUidOrWtf() {
        if (!isDirectlyHandlingTransaction() && !hasExplicitIdentity()) {
            Log.wtf(TAG,
            Log.wtfStack(TAG,
                    "Thread is not in a binder transaction, "
                            + "and the calling identity has not been "
                            + "explicitly set with clearCallingIdentity");