commit | 0deaebd06a61ead91330dd8e067ed56d98556465 | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Wed Jul 03 14:32:17 2024 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Wed Jul 03 14:32:17 2024 +0200 |
tree | df8f8aa806860bacb72f43623f6de703f1662183 | |
parent | e66e954f2b7bb8d33c4819a9f6e32ef3105678d5 [diff] |
gmscompat: Don't log stacktrace if GMS isn't installed * This spams logs a lot on vanilla builds Change-Id: Ic4c570d5ec8d828544ec379044c675cda2a15542
diff --git a/core/java/com/android/internal/gmscompat/AttestationHooks.java b/core/java/com/android/internal/gmscompat/AttestationHooks.java index db118a3..28bcba1 100644 --- a/core/java/com/android/internal/gmscompat/AttestationHooks.java +++ b/core/java/com/android/internal/gmscompat/AttestationHooks.java
@@ -183,7 +183,6 @@ gmsUid = context.getPackageManager().getApplicationInfo(PACKAGE_GMS, 0).uid; dlog("shouldBypassTaskPermission: gmsUid:" + gmsUid + " callingUid:" + callingUid); } catch (Exception e) { - Log.e(TAG, "shouldBypassTaskPermission: unable to get gms uid", e); return false; } return gmsUid == callingUid;