summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Joe Bolinger <jbolinger@google.com> 2022-01-13 12:57:50 -0800
committer Joe Bolinger <jbolinger@google.com> 2022-01-13 12:57:50 -0800
commitbd4cd38772f2881b2bda97e74d6435de202acab2 (patch)
treedd1234be0ad39a4e3f889af038547341c71fcaa8 /libs/androidfw/StringPool.cpp
parent446644041bc2f3d9c24f37b40907a6b061bb9920 (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 Test: atest UserAwareBiometricSchedulerTest BiometricSchedulerTest BiometricSchedulerOperationTest SensorTest Face10Test Test: manual (flash, enroll fingerprint, add work profile account, reboot, verify fingerprint still works) Change-Id: Ifb73b0145aeb8afb62d1f55d2f881347b0d2ef8a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions