summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBen Kwa <kenobi@google.com>2015-12-22 15:27:14 -0800
committerBen Kwa <kenobi@google.com>2015-12-22 15:27:14 -0800
commit20887030e8c6105c97286653244d5c3801324194 (patch)
tree9f4477260d9ececd8d516a1346541864d7e56be0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf8a51f6fcbec4dbc61bab3c5a06cd62971a4df43 (diff)
Fix various band select instabilities.
- Guard against OutOfBoundsExceptions by checking for RecyclerView.NO_POSITION before attempting to retrieve model IDs in various places. - Fix a spot where the default return value of SparseIntArray.get (i.e. 0) was causing item 0 to incorrectly get selected. BUGS=26249027,26309874 Change-Id: I08d2e8c90bdd40a4738bdcf357de31e8fe6ddecf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions