summaryrefslogtreecommitdiffstats
path: root/include/ui/PowerManager.h
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-01-17 15:14:32 -0800
committerGilles Debunne <debunne@google.com>2011-01-19 15:10:09 -0800
commitbe2c4f92a990ca48ad6ede252343dd9574dfe505 (patch)
tree4b800d707c3e0f802a7b0ffc29bcabd8fb1f1089 /include/ui/PowerManager.h
parent9240f16d771549b62b5f10efe9f784d87a0afaa4 (diff)
downloadframeworks_base-be2c4f92a990ca48ad6ede252343dd9574dfe505.zip
frameworks_base-be2c4f92a990ca48ad6ede252343dd9574dfe505.tar.gz
frameworks_base-be2c4f92a990ca48ad6ede252343dd9574dfe505.tar.bz2
Race condition patched in Email autocompletion.
Bug 3347962 Root cause of this problem: if the adapter's content gets updated by a backgroung thread, the PopupDataSetObserver will call showDropDown which will popup the list. Added a flag to make this call show the popup iif it is already visible. This relayout is needed to clear the mDataChanged flag set when the content was modified and which otherwise prevents touch events on the result list. ArrayAdapter didn't use its lock to protect access to mObject. ------------------------------------------------- However, the study of the this race conditions revealed an other bug: Updated adapter's content is not displayed in filtered AutoCompleteTextView Bug 3369097 Change-Id: Icd90d452f98231866f4d8a1f6994c1492febecb9
Diffstat (limited to 'include/ui/PowerManager.h')
0 files changed, 0 insertions, 0 deletions