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

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

Change-Id: I887ced9199677754acff276ad675af4dafec3a6d
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:38:59 +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");