commit | c56fb4e0e5ad61fa560d99c72e8a5df6662c97bd | [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 | c6dba169b8fc89630e71ce4110a66e0fbc877324 | |
parent | c3c20f2b50124f544b481929d1a6336fb3c88e0b [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