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:
@@ -366,7 +366,7 @@ public class Binder implements IBinder {
|
|||||||
*/
|
*/
|
||||||
public static final int getCallingUidOrWtf() {
|
public static final int getCallingUidOrWtf() {
|
||||||
if (!isDirectlyHandlingTransaction() && !hasExplicitIdentity()) {
|
if (!isDirectlyHandlingTransaction() && !hasExplicitIdentity()) {
|
||||||
Log.wtf(TAG,
|
Log.wtfStack(TAG,
|
||||||
"Thread is not in a binder transaction, "
|
"Thread is not in a binder transaction, "
|
||||||
+ "and the calling identity has not been "
|
+ "and the calling identity has not been "
|
||||||
+ "explicitly set with clearCallingIdentity");
|
+ "explicitly set with clearCallingIdentity");
|
||||||
|
|||||||
Reference in New Issue
Block a user