summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
diff options
context:
space:
mode:
authorAnthony Lee <anthonylee@google.com>2015-01-22 07:56:19 -0800
committerNatiq Ahmed <mnatiq@codeaurora.org>2015-03-13 15:00:45 +0530
commit698f9a627e5f538db8bf95f4b1992ff6beb9bbf7 (patch)
tree168ae58fa5284af9933e465290e0c6fc4ce04966 /tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
parentafa3a54bdbfd986ca85a6c888b63954fe75fd69e (diff)
downloadandroid_packages_apps_Dialer-698f9a627e5f538db8bf95f4b1992ff6beb9bbf7.tar.gz
android_packages_apps_Dialer-698f9a627e5f538db8bf95f4b1992ff6beb9bbf7.tar.bz2
android_packages_apps_Dialer-698f9a627e5f538db8bf95f4b1992ff6beb9bbf7.zip
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
Diffstat (limited to 'tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java')
0 files changed, 0 insertions, 0 deletions