diff options
| author | 2019-01-29 13:30:41 -0800 | |
|---|---|---|
| committer | 2019-01-29 13:30:41 -0800 | |
| commit | db77e13a45158b5d56e15d49efd33822bd20a16a (patch) | |
| tree | 98a7be7f6fbcee8a17114cff558d09219f272114 | |
| parent | 7447f3bda99c200f5c9853615aab1ae8e72e6d8e (diff) | |
Add require_confirmation to BiometricAuthenticated atom
Bug: 120161047
Bug: 117060268
Bug: 121072756
Bug: 121071984
Test: Builds
Change-Id: Id67a0063db75b77454e6ecbb5b85d65267351c67
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 7 |
1 files 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; } /** |