Skip to content
Commit 0aa23c28 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Fix mismatched state between SystemUI and FingerprintService

This CL fixes issues that lead to occasional fingerprint enrollment
state inconsistencies between SystemUI and FingerprintService:

1. Unordered processing of "onAllAuthenticatorsRegistered" and
   "onEnrollmentsChanged" in AuthController.
2. Data races in AuthController caused by unguarded access between the
   main and incoming Binder threads.

Bug: 207726663
Test: atest AuthControllerTest
Test: add artificial 10 sec delay to fingerprint HAL start up
Change-Id: I9dcb80443996fcdefcba976b0f60cc6f2d036afd
parent 8b988e72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment