summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlison Cichowlas <asc@google.com>2020-11-25 16:18:18 -0500
committerAlison Cichowlas <asc@google.com>2020-12-03 00:31:17 +0000
commit2c1280664932d9b02fb70eeb32e9d0ab4aa46aca (patch)
tree55026c2ff3b80aa1bf4af9f1b39c9a898276f84f /tools/aapt2/java/JavaClassGenerator.cpp
parent18d29c0d76bbba51ec820672e3c54d2860664f1d (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 (cherry picked from commit 6f015708fb7aeec4c1d2f6717e291723aedd9318)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions