diff options
author | Gilles Debunne <debunne@google.com> | 2011-01-17 15:14:32 -0800 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-01-19 15:10:09 -0800 |
commit | be2c4f92a990ca48ad6ede252343dd9574dfe505 (patch) | |
tree | 4b800d707c3e0f802a7b0ffc29bcabd8fb1f1089 /obex | |
parent | 9240f16d771549b62b5f10efe9f784d87a0afaa4 (diff) | |
download | frameworks_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 'obex')
0 files changed, 0 insertions, 0 deletions