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

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

Change-Id: Ie790ecd019ee006eb1885d1354ec032de8a78e1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-12-06 16:23:33 +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");