diff options
| author | 2022-03-02 14:39:26 +0800 | |
|---|---|---|
| committer | 2022-03-03 11:56:18 +0800 | |
| commit | ce4c02258b75bcfd7c4581373da3407c30f54f9e (patch) | |
| tree | 0b5b4365640e64e5213483914dcc2e3ac1e1bcde /libs/androidfw/StringPool.cpp | |
| parent | 081a7c61e6b277efc65f292488618650ac86394c (diff) | |
Fixs the ANR issue
When doing the drag and drop an app from the Taskbar, the dragState
will hold the wm global lock to sync the input state through the
surface flinger which callbacks the windows through the
onWindowInfoChanged. If we also hold the same lock in the
onWindowInfoChanged, then the ANR will happen.
To fix this ANR issue, we need to post a message and then handle
the windowInfo data.
Bug: 221497060
Test: a11y CTS & unit tests
Change-Id: Ib655546f5810e357fa45419ece32e9e742b6506c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions