commit | 6f015708fb7aeec4c1d2f6717e291723aedd9318 | [log] [tgz] |
---|---|---|
author | Alison Cichowlas <asc@google.com> | Wed Nov 25 16:18:18 2020 -0500 |
committer | Alison Cichowlas <asc@google.com> | Wed Dec 02 15:20:17 2020 -0500 |
tree | f7967a468e7715cbba4ffdf0cfac7bb19bcd1506 | |
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