summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJoe Bolinger <jbolinger@google.com>2022-01-13 12:57:50 -0800
committerJoe Bolinger <jbolinger@google.com>2022-01-26 01:07:58 +0000
commitacc815e3edb203f5bac5af399b291c5c173433f9 (patch)
tree5803b05e7d20b58db73005574b87024233a23972 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentabc127673bf8f030cfb92d2f94d8f14baf9cd2aa (diff)
Check current user when the operations runs for fingerprint hidl.
The current and target user are both provided to the switch client constructor which is brittle unless operations are scheduled and run synchronously. Commit 9a99503870074d40d794245d9e3ac7a076f5b2f2 changed the handlers and somehow caused a bug where the cached current user was out of sync. The switch client tries to optimize for this and can skip switching when that occurs. This also includes two additonal changes 1) a few updated logs from the original change and 2) restores each scheduling having its own handler for clarity. Bug: 213962104 Bug: 210090299 Test: atest UserAwareBiometricSchedulerTest BiometricSchedulerTest BiometricSchedulerOperationTest SensorTest Face10Test Test: manual (flash, enroll fingerprint, add work profile account, reboot, verify fingerprint still works) Change-Id: Ifb73b0145aeb8afb62d1f55d2f881347b0d2ef8a Merged-In: Ifb73b0145aeb8afb62d1f55d2f881347b0d2ef8a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions