summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2022-03-08 11:44:31 -0600
committer chaviw <chaviw@google.com> 2022-03-09 09:40:40 -0600
commit277f1608bea9f018c65e690f797fd18146a20b07 (patch)
tree533d3f616d9a81e0d2d722a8aaca7468ec6df847 /libs/androidfw/StringPool.cpp
parentecd166ee7cfefdb7497fa97b641699ff86103161 (diff)
Store last data received from WindowInfosListener
Store the last data received from WindowInfoListener on the client so it can easily be retrieved when a new caller registers to listen for updates. This will help with accessibility since they won't need to register their listener all the time and instead just get the last data that was sent, immediately. From the system server process, the data is constantly being updated because WindowInfo is sent to InputDispatcher when any geometry in SF changes. If a different process registers for the WindowInfoListener, it's possible the initial data will be empty since we won't explicitly request the latest data immediately. Bug: 222767081 Test: Accessibility register only when enabled Change-Id: Ib87edde7a14be8584504d5d8d6c41f20bde5c698
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions