commit | e48124fa2d295c68cdb95f962ef8bd6d35a7c145 | [log] [tgz] |
---|---|---|
author | Anthony Lee <anthonylee@google.com> | Thu Jan 22 07:56:19 2015 -0800 |
committer | Anthony Lee <anthonylee@google.com> | Thu Jan 22 08:57:32 2015 -0800 |
tree | 150990e26216bfeaf1f6093571cdddd3d9768c4a | |
parent | 1eb16ea1adca302ff19f64d6ae55e586194a6127 [diff] |
Fix crasher due to IndexOutOfBoundsException Make sure that we check for the index to exist in the list before we query for it. The problem is that the index is grabbed from the listview but then applied to the contact entry arraylist. It is possible that these two are out of temporarily out of sync. This check will make sure that we do not throw an exception in those cases. Bug: 19103509 Change-Id: Iba620ec859866b9f8bfc2614a17b1b1a11037230