diff options
| author | 2023-12-28 18:02:51 +0000 | |
|---|---|---|
| committer | 2023-12-28 18:12:53 +0000 | |
| commit | e8ebac7e0d02603b98244081eb2430ca1dddc82a (patch) | |
| tree | 4276bf63efb17c16108eb6f82d16d0b8d9271c26 /libs/androidfw/ResourceTimer.cpp | |
| parent | fb6dda6482714a51d88e86c6a2b1f8a9516323c4 (diff) | |
Cancel coroutine job before replacing BiometricContextListener
Only allow one IBiometricContextListener to be registered at a time in
AuthController, and cancel previous coroutine jobs before replacing
the listener. Otherwise, the coroutines of old listener will continue to
run forever.
Bug: 317205264
Bug: 316125692
Flag: NONE
Test: AuthControllerTest
Change-Id: I0617aefbece18a261aed43ce5c90fc5ef1094338
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions