commit | e8ebac7e0d02603b98244081eb2430ca1dddc82a | [log] [tgz] |
---|---|---|
author | Peter Kalauskas <peskal@google.com> | Thu Dec 28 18:02:51 2023 +0000 |
committer | Peter Kalauskas <peskal@google.com> | Thu Dec 28 18:12:53 2023 +0000 |
tree | 4276bf63efb17c16108eb6f82d16d0b8d9271c26 | |
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