Add logging for flaky tests

Bug: 172957689
Test: Builds
Change-Id: If9992913371d442b0204ebf98e4a4f35ed543664
This commit is contained in:
Kevin Chyn
2020-11-24 12:58:48 -08:00
parent fdf810a455
commit 8582eeb832
2 changed files with 2 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ public final class AuthSession implements IBinder.DeathRecipient {
@NonNull PromptInfo promptInfo,
boolean debugEnabled,
@NonNull List<FingerprintSensorPropertiesInternal> fingerprintSensorProperties) {
Slog.d(TAG, "Creating AuthSession with: " + preAuthInfo);
mContext = context;
mStatusBarService = statusBarService;
mSysuiReceiver = sysuiReceiver;

View File

@@ -1047,7 +1047,7 @@ public class BiometricService extends SystemService {
final Pair<Integer, Integer> preAuthStatus = preAuthInfo.getPreAuthenticateStatus();
Slog.d(TAG, "handleAuthenticate: modality(" + preAuthStatus.first
+ "), status(" + preAuthStatus.second + ")");
+ "), status(" + preAuthStatus.second + "), preAuthInfo: " + preAuthInfo);
if (preAuthStatus.second == BiometricConstants.BIOMETRIC_SUCCESS) {
// If BIOMETRIC_WEAK or BIOMETRIC_STRONG are allowed, but not enrolled, but