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

This commit is contained in:
Treehugger Robot
2022-12-05 19:20:39 +00:00
committed by Gerrit Code Review

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