diff options
| author | Alan Viverette <alanv@google.com> | 2014-10-06 15:33:24 -0700 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2014-10-07 21:54:34 +0000 |
| commit | ec8e720ae209d975ac34dc66e51f280d9a9482ef (patch) | |
| tree | 02d9cc714f43930a54ebbef1235d7c6d08df81a6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 663edb8bfb5025b58ed874432b41f60cfa587266 (diff) | |
Ensure AdapterView doesn't post selection notifications forever
Previously we would loop forever if a selection notification was
posted after data had changed but the data changed bit was never
reset (e.g. a layout pass never occurred). This moves the pending
notification to occur as part of a layoutChildren() /
checkSelectionChanged() pass. If the client does horrible things
to prevent layout, no notification will occur -- but we won't loop
forever.
BUG: 17736536
Change-Id: I9773a769ad402c92dcbe2af7b8982d4443001961
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
