summaryrefslogtreecommitdiff
path: root/include/utils/AndroidUnicode.h
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2010-02-11 17:51:24 -0800
committer Christopher Tate <ctate@google.com> 2010-02-11 18:07:22 -0800
commit136b1f927f9d11cb0a9d3202ca3f77471afda556 (patch)
treec414b2dd82c19844dae57e475941f66c87c38bbd /include/utils/AndroidUnicode.h
parent5a4b1d9e63c084998f8be3def945f005f8768937 (diff)
Fix spurious ANRs involving window shuffling and non-fullscreen activities
Force the event-target bookkeeping to reset when an app explicitly acknowledges event receipt. Furthermore, notify the event dispatcher whenever a new window is created, even if there is nominally an existing event target window. These changes in tandem address a subtle race bug in which the event dispatcher believes that there is an event recipient that it is still waiting for even when the event in question has been acknowledged; this results in a spurious ANR. There were checks in the existing code that wound up doing the right thing in the case of windows becoming hidden, but the case of non-fullscreen activities floating over them [unavailable for input but still visible] exposed the race condition. Bug: 2432828 Change-Id: I29fb741aace34736b029f9ba43f2c43184366258
Diffstat (limited to 'include/utils/AndroidUnicode.h')
0 files changed, 0 insertions, 0 deletions