From 398c2be0ddc25f2dd9f9fee952036764e1ce5f19 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 17 Jul 2013 10:34:38 -0700 Subject: Fix Dialer crash due to incorrect viewtype count being reported Bug: 9899110 Change-Id: I81408b00cced4b757b0ecca45369b05eb16c0620 --- src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java index bb758a710..ba291a00f 100644 --- a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java +++ b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java @@ -130,7 +130,7 @@ public class PhoneFavoriteMergedAdapter extends BaseAdapter implements SectionIn // "+2" for mAccountFilterHeaderContainer and mLoadingView return (mContactTileAdapter.getViewTypeCount() + mContactEntryListAdapter.getViewTypeCount() - + 1); + + 2); } @Override -- cgit v1.2.3