diff options
author | Alison Cichowlas <asc@google.com> | 2020-11-25 16:18:18 -0500 |
---|---|---|
committer | Alison Cichowlas <asc@google.com> | 2020-12-02 15:20:17 -0500 |
commit | 6f015708fb7aeec4c1d2f6717e291723aedd9318 (patch) | |
tree | f7967a468e7715cbba4ffdf0cfac7bb19bcd1506 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cbef1ba73c08050869bac73b7acfe584f946f3f4 (diff) |
Fix wrong target launches in Chooser.
The service target row was sometimes overfull - with more targets in
the list than were displayed - when we used each row's offset
to calculate which target was selected to launch.
This fix makes sure we are not overfilling.
Test: ChooserActivityTest & manual repro -- use targets from
alphabetical section, make sure you have at least one old-API target
available
Fixes: 170518649, 165944833
Change-Id: I8a554197c01f4eadbeac43742984e4c86ca49601
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions