diff options
| author | Jim Miller <jaggies@google.com> | 2017-03-22 16:40:10 -0700 |
|---|---|---|
| committer | Jim Miller <jaggies@google.com> | 2017-03-22 16:46:07 -0700 |
| commit | 8eddd33a01ad8eeb99c380c14be181d7e4930c29 (patch) | |
| tree | ebd65bc53722b2eec2656922eafd658b49b1e547 /docs/html/sdk/api_diff/24/changes | |
| parent | 2ff5824741876e5dcd0038b8ff8d75802bdc8b84 (diff) | |
Add more robust handling of daemon crashes
It seems the new fingerprint daemon doesn't recover as quickly as before
and there's a finite chance reconnecting immediately will fail.
This changes the framework to be more robust about recovering by:
1. explicitly connecting to the daemon in isHardwareDetected()
2. ensuring we remove the current client when daemon death is detected
3. reset the daemon whenever we get HW_UNAVAILABLE so we try again
Test: manually kill daemon and verify FingerprintService reconnects
Partial fix for bug 36181191
Change-Id: Id530ed62be58b33af5b5b60083f3a69e4e8cd8bf
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
