diff options
author | Kevin Chyn <kchyn@google.com> | 2018-11-13 12:00:48 -0800 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2018-11-13 12:00:48 -0800 |
commit | 628b7188318bcd036cfff4b8783130dbe21d2920 (patch) | |
tree | 40d6bc765adf498b0add5ccb8e9c460574bb5145 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions