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
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index 2d244a9..aa56105 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -366,7 +366,7 @@
*/
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");