diff options
author | Evan Rosky <erosky@google.com> | 2017-04-06 18:48:33 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2017-04-07 16:13:05 -0700 |
commit | 8448523665d682efaab93d2b76ef30e36f54c652 (patch) | |
tree | 83b82224fe27240ef638f7b6e05f65e0cdc854aa /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | eb93670383aa40ad7ed55861e667c08e8a3682a6 (diff) |
Fix focus ordering with duplicate ids
AdapterViews (and other dynamic layouts) inflate views which
can lead to multiple views with the same id. The original
user-specified focus logic assumed that id's were unique causing
focus loops. This now uses the full "insideOut" id-search
instead of an id->view map.
Bug: 32647147
Test: FocusFinderTest still passes. Added #testDuplicateId
specifically for this scenario
Change-Id: Iaed98438f5ad70c866dd72e699453eab0ac0cf58
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions