diff options
| author | 2023-04-13 17:48:55 +0000 | |
|---|---|---|
| committer | 2023-04-19 23:42:08 +0000 | |
| commit | 4932fee94ed762a446028e40258d59c786a1a890 (patch) | |
| tree | 1e02d8ca16e3f96644cae1a03c510fed2dd19aea /libs/input/PointerController.cpp | |
| parent | 8df6d94c692b1fe67aa2fe5c3271c28c8ac8eba2 (diff) | |
Determine rear display status only based on device states
onRequestCanceled callback came before device state callback, which caused updateRearDisplayStatusListeners in line 553 to call back with STATUS_ACTIVE after the cancelation callback. onRequestActivated and onRequestCanceled don't need to update rear display status listeners, because there are always device state callbacks that will trigger updateRearDisplayStatusListeners.
Bug: 264962409
Test: atest ExtensionRearDisplayTest
Change-Id: Ibaf8ecfa3da8544a4a07ee803989fa136200c350
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions