commit | 628b7188318bcd036cfff4b8783130dbe21d2920 | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Tue Nov 13 12:00:48 2018 -0800 |
committer | Kevin Chyn <kchyn@google.com> | Tue Nov 13 12:00:48 2018 -0800 |
tree | 40d6bc765adf498b0add5ccb8e9c460574bb5145 | |
parent | b608ad49f95c86ca1605078786e4320b47b0d917 [diff] |
Check for null in addition to instanceof Face We only send a Face object if the client holds the MANAGE_BIOMETRIC permission. Otherwise we send null. Fixes the issue where clients that don't have the MANAGE_BIOMETRIC permission don't receive onAuthenticationSucceeded callback. Test: Builds Change-Id: If1742570ebe914d0ba7da17e60655fed3c9a4b39