diff options
author | Joe Bolinger <jbolinger@google.com> | 2021-05-18 17:24:02 -0700 |
---|---|---|
committer | Joe Bolinger <jbolinger@google.com> | 2021-05-20 18:56:31 -0700 |
commit | fdc48a48c5fe648becd11798fd29918348d76b73 (patch) | |
tree | 3289379bbfdbff761e93b748abfb43e497dbdae1 /core/proto | |
parent | 6e8cafb843838de10a2c5263778c8aeb53afa813 (diff) |
Delay starting fingerprint sensor when using multi-sensor devices.
Fix: 183951321
Test: atest com.android.server.biometrics
Test: atest com.android.systemui.biometrics
Test: manual with integration app
Change-Id: Ib1e92278d695b0ce5b6f799f51007262ade31f05
Diffstat (limited to 'core/proto')
-rw-r--r-- | core/proto/android/server/biometrics.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/proto/android/server/biometrics.proto b/core/proto/android/server/biometrics.proto index ac9e3e001d50..fc9da90ccd59 100644 --- a/core/proto/android/server/biometrics.proto +++ b/core/proto/android/server/biometrics.proto @@ -91,9 +91,23 @@ message BiometricServiceStateProto { STATE_CLIENT_DIED_CANCELLING = 10; } + enum MultiSensorState { + // Initializing or not yet started. + MULTI_SENSOR_STATE_UNKNOWN = 0; + // Sensors are in the process of being transitioned and there is no active sensor. + MULTI_SENSOR_STATE_SWITCHING = 1; + // Face sensor is being used as the primary input. + MULTI_SENSOR_STATE_FACE_SCANNING = 2; + // Fingerprint sensor is being used as the primary input. + MULTI_SENSOR_STATE_FP_SCANNING = 3; + } + repeated SensorServiceStateProto sensor_service_states = 1; optional AuthSessionState auth_session_state = 2; + + // Additional session state information, when the device has multiple sensors. + optional MultiSensorState auth_session_multi_sensor_state = 3; } // Overall state for an instance of a <Biometric>Service, for example FingerprintService or |