diff options
author | Kevin Chyn <kchyn@google.com> | 2018-10-25 10:53:58 -0700 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2018-10-25 10:53:58 -0700 |
commit | b480f011786f02eadbe4433f764f08709ea3073f (patch) | |
tree | 46f64eee81ab7c7f7969965229aad54f4cb291f5 /biometrics | |
parent | 70b2eb10f98217b2a5f2e41173c06b84cda2da06 (diff) | |
download | android_hardware_interfaces-b480f011786f02eadbe4433f764f08709ea3073f.tar.gz android_hardware_interfaces-b480f011786f02eadbe4433f764f08709ea3073f.tar.bz2 android_hardware_interfaces-b480f011786f02eadbe4433f764f08709ea3073f.zip |
Add face acquired constants
Fixes: 118382625
Test: Builds
Change-Id: I3c9203c7e593aee3b110dd00e31687e364ff78bc
Diffstat (limited to 'biometrics')
-rw-r--r-- | biometrics/face/1.0/types.hal | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/biometrics/face/1.0/types.hal b/biometrics/face/1.0/types.hal index 2628af9ec..f6827d5f0 100644 --- a/biometrics/face/1.0/types.hal +++ b/biometrics/face/1.0/types.hal @@ -245,9 +245,22 @@ enum FaceAcquiredInfo : int32_t { RECALIBRATE = 13, /** + * The face is too different from a previous acquisition. This condition + * only applies to enrollment. This can happen if the user passes the + * device to someone else in the middle of enrollment. + */ + TOO_DIFFERENT = 14, + + /** + * The face is too similar to a previous acquisition. This condition only + * applies to enrollment. The user should change their pose. + */ + TOO_SIMILAR = 15, + + /** * Used to enable a vendor-specific acquisition message. */ - VENDOR = 14 + VENDOR = 16 }; /** |