diff options
| author | 2023-03-03 12:50:50 -0800 | |
|---|---|---|
| committer | 2023-03-07 10:03:47 -0800 | |
| commit | e1bde69d4fba6989cdc4579885cf62c38af7206d (patch) | |
| tree | 7876484779f2657d83f4f06c90ae7baa83e77cae /libs/input/PointerController.cpp | |
| parent | 6524701244b605e87b7ce1b88c29aa3c475fecf3 (diff) | |
Do not pass in anon callback.
The anon callback gets deferenced after the first few calls. Make sure
that it is a class field. Also update the documentation to reflect this.
There are no known bugs due to this, but proactively fixing this to
avoid unintended behavior.
Bug: 267821080
Test: add logs to see if the callbacks are called continuously.
onBiometricRunningStateChanged is called pretty much every time we go to
LS and leave LS.
Change-Id: If7fb2450f9025b85a30a10612966561c020ec865
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions