summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2015-08-21 18:45:15 -0700
committerJim Miller <jaggies@google.com>2015-08-21 18:56:37 -0700
commit827afdab0eb620ed139c4ab519ac837cb718296b (patch)
tree5a6cee0e4de437b228155fdc45932908f4298685 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente5b4c3d5f329ee830c46f92deef23be1dfbead80 (diff)
Handle driver errors from remove, enroll and auth.
FingerprintService expects callbacks from the HAL to happen over the provided notify() method. However, there are some circumstances when errors can't be propagated (i.e. the driver cannot be loaded). In this case, the call to the method (remove(), enroll(), authenticate()) fails and we get a return status != 0. When this happens, FingerprintService now sends an error response to the client. In general, this will mean the driver is unavailable, so we send FINGERPRINT_ERROR_HW_UNAVAILABLE. Fixes bug 23183484 Change-Id: Ifb40ba6fb1d960810043749fd8478ba37c968405
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions