diff options
author | Yigit Boyar <yboyar@google.com> | 2016-05-06 16:11:12 -0700 |
---|---|---|
committer | Yigit Boyar <yboyar@google.com> | 2016-05-09 11:45:57 -0700 |
commit | b742b87a6b098ff5c354e421c0a89fb32346c244 (patch) | |
tree | 8b4d7017ed9335da3f945b966205dc4dcba691b7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f970410afef518003c84eef022194848b2a4f606 (diff) |
Remove detached headers
ListView was leaving header and footer views
in the detached state, which is a problem because
no view should be left in that state after a layout
calculation. This was also causing the view to never
received detached-from-window callback if
the ListView is detached while the header is not
visible.
This CL fixes an issue by traversing fixed views
and removing the ones that match the criteria.
To keep the behavior as similar as possible,
we still do not call startTmpDispatch on
fixed views unless we'll remove them.
Bug: 24490656
Change-Id: I8acfbd1a9d9b8b24c1c4b7692ef82cfe0f4d43a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions