Merge "Fix: update Binder#getCallingUidOrWtf to use wtfStack" am: fca208d09a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2328334

Change-Id: Ia196827c5c7843939d09caf7cc0d45a7996a4602
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-12-05 20:03:07 +00:00
committed by Automerger Merge Worker

View File

@@ -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");