diff options
| author | 2023-01-27 23:24:28 +0000 | |
|---|---|---|
| committer | 2023-01-27 23:35:51 +0000 | |
| commit | c34f7941332d2ee32dd98d0065a1417335fff2ed (patch) | |
| tree | 4c3d778ecdae50b18fab1aad2636b0eb9d05e698 /libs/input/PointerController.cpp | |
| parent | 0825f6b4d084ac96f01fa9f8ad5be096a3daa044 (diff) | |
Signal dream end to overlay in finish().
Originally, the dream service signaled its exit to the overlay when
the window detaches. However, there are other flows where it's possible
for the dream to initiate exiting before this point. In this case, the
teardown will begin and a race condition will exist between signaling
to the overlay and stopping the dream process.
This changelist addresses this by placing the exit signal to the
overlay in finish. Proceeding through finish is deferred until this
signal is sent, ensuring the overlay is always informed.
Fixes: 265920994
Test: atest DreamOverlayTest
Change-Id: I1a07d3839979d37599c1e053d8715340b5c4830c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions