diff options
author | Yorke Lee <yorkelee@google.com> | 2013-07-17 10:34:38 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-07-17 10:34:38 -0700 |
commit | 398c2be0ddc25f2dd9f9fee952036764e1ce5f19 (patch) | |
tree | 8e8aa2374142070fab8bdfc550351aaa5e24e94a | |
parent | dfb2eee7d98f8540fd1614db66bb03e8e1f3a26a (diff) |
Fix Dialer crash due to incorrect viewtype count being reported
Bug: 9899110
Change-Id: I81408b00cced4b757b0ecca45369b05eb16c0620
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |