From db77e13a45158b5d56e15d49efd33822bd20a16a Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Tue, 29 Jan 2019 13:30:41 -0800 Subject: Add require_confirmation to BiometricAuthenticated atom Bug: 120161047 Bug: 117060268 Bug: 121072756 Bug: 121071984 Test: Builds Change-Id: Id67a0063db75b77454e6ecbb5b85d65267351c67 --- cmds/statsd/src/atoms.proto | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 812a2f2a76ae..30df850fd3b3 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -2968,6 +2968,9 @@ message BiometricAuthenticated { optional bool is_crypto = 3; // The client that this acquisition was received for. optional android.hardware.biometrics.ClientEnum client = 4; + // If authentication requires user confirmation. See BiometricPrompt's + // setRequireConfirmation(bool) method. + optional bool require_confirmation = 5; enum State { UNKNOWN = 0; @@ -2977,12 +2980,12 @@ message BiometricAuthenticated { } // State of the current auth attempt. - optional State state = 5; + optional State state = 6; // Time it took to authenticate. For BiometricPrompt where setRequireConfirmation(false) is // specified and supported by the biometric modality, this is from the first ACQUIRED_GOOD to // AUTHENTICATED. for setRequireConfirmation(true), this is from PENDING_CONFIRMATION to // CONFIRMED. - optional int64 latency_millis = 6; + optional int64 latency_millis = 7; } /** -- cgit v1.2.3-59-g8ed1b