summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-07-01 17:50:24 -0700
committerKevin Chyn <kchyn@google.com>2020-07-07 15:03:21 -0700
commit1a8ab724eb1473daf9a5ad44577c7067bd911704 (patch)
treecd73fd385e700d02d80f3aaecfd75d49ee6a3efa /tools/aapt2/java/JavaClassGenerator_test.cpp
parent71520ed21765f93aca2ab4a4823dcf9f58959c3a (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions