diff options
| author | 2023-05-15 13:38:16 -0500 | |
|---|---|---|
| committer | 2023-05-23 15:37:01 -0500 | |
| commit | 6681c02369f3af7558a239ed39961b8b972fa01c (patch) | |
| tree | 97d43877bd9607f5faebbe13ca74b1336194de10 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 5423b3032431bbf310e0ed08b2469ded417990ef (diff) | |
Skip window infos updates if no listeners
This change fixes a bug where WindowInfosListenerInvoker's active
message count is incremented for messages when there are no listeners.
In this case, onWindowInfosReported is never called, leading to
out-of-sync window infos once listeners are added back. This scenario
may occur if system server dies.
Bug: 279792237
Test: WindowInfosListenerInvokerTest, manual tested by killing system server
Change-Id: If62f7cc56b48570f633e8e640006f020b053ea6f
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions