diff options
| author | 2023-01-11 21:02:13 +0000 | |
|---|---|---|
| committer | 2023-01-11 21:02:13 +0000 | |
| commit | 89cfae6c375288c23660ca47db92d463b7bd050c (patch) | |
| tree | 7b6a477cd524c93251302fd2c6edaa329f67d9e9 | |
| parent | 400c126b72b84f25b458ff8a58b77cebb43869ea (diff) | |
| parent | ce9fbb5dc8172bc8ecbc4ad94403f1c156728eef (diff) | |
Merge "Merge "Remove stack trace from Binder#getCallingUidOrWtf" am: 6d04006046 am: 680c176d84" into tm-qpr-dev-plus-aosp
| -rw-r--r-- | core/java/android/os/Binder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java index aa561050c919..0cb7df73f9b7 100644 --- a/core/java/android/os/Binder.java +++ b/core/java/android/os/Binder.java @@ -358,16 +358,16 @@ public class Binder implements IBinder { * Return the Linux UID assigned to the process that sent the transaction * currently being processed. * - * Logs WTF if the current thread is not currently + * Slog.wtf if the current thread is not currently * executing an incoming transaction and the calling identity has not been * explicitly set with {@link #clearCallingIdentity()} * * @hide */ - public static final int getCallingUidOrWtf() { + public static final int getCallingUidOrWtf(String message) { if (!isDirectlyHandlingTransaction() && !hasExplicitIdentity()) { - Log.wtfStack(TAG, - "Thread is not in a binder transaction, " + Slog.wtf(TAG, + message + ": Thread is not in a binder transaction, " + "and the calling identity has not been " + "explicitly set with clearCallingIdentity"); } |