summaryrefslogtreecommitdiff
path: root/packages/CompanionDeviceManager/src
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-06-18 09:04:03 -0400
committer Lucas Silva <lusilva@google.com> 2024-06-18 15:47:09 +0000
commitd2d4f0918e77e43f4dedc63ea876d021ae698c97 (patch)
tree66c5c12df3c7f81d53b25b1026c05c5079beb886 /packages/CompanionDeviceManager/src
parent671b1184e4f22f4605f703d8640d8c703cc084a4 (diff)
Tie dream lifecycle to dream overlay
Currently, when the overlay terminates, we attempt to keep the dream active and restart the overlay connection. However, WindowManager seems to now remove the dream window when the overlay process dies. Therefore there is no longer a need to try to keep the dream running, and we can tie the dream lifecycle to the overlay. With this change, the dream is finished when the overlay is disconnected. This ensures that we reset the dream state if SystemUI crashes. Fixes: 343506030 Flag: EXEMPT bugfix Test: atest DreamServiceTest Test: atest DreamOverlayConnectionHandlerTest Change-Id: Ie8c3caf80b01cb1bf9d6127fe56d94d73ed59703
Diffstat (limited to 'packages/CompanionDeviceManager/src')
0 files changed, 0 insertions, 0 deletions