Skip to content
Commit 1a8ab724 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

24/n: Use lazy retrieval for HAL

Instead of passing it in through ClientMonitor#start, which causes
whatever is scheduling the ClientMonitors to require knowledge of
the HAL type, make it a parameter in the constructor that allows for
lazy retrieval.

1) Reminder that we should always retrieve a fresh pointer to the
   HAL, in case it crashed previously, or is stale, or was never
   loaded, etc. This functionality is preserved
2) As mentioned above, this allows the scheduler to remain agnostic
   of HAL type

Bug: 157790417

Test: Enroll, auth for fingerprint/face devices
Change-Id: Ib61cfecec17dc2b33937e089bdb9777f50e7a836
parent 71520ed2
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