commit | 20887030e8c6105c97286653244d5c3801324194 | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Tue Dec 22 15:27:14 2015 -0800 |
committer | Ben Kwa <kenobi@google.com> | Tue Dec 22 15:27:14 2015 -0800 |
tree | 9f4477260d9ececd8d516a1346541864d7e56be0 | |
parent | f8a51f6fcbec4dbc61bab3c5a06cd62971a4df43 [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