From b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Mon, 10 Dec 2012 18:33:24 -0800 Subject: Add empty list message. Bug: 7403225 Change-Id: Ib57e5bbb17ac7f3a7a08c2c0b015d2bd7a61a459 --- src/com/android/contacts/common/list/ContactEntryListAdapter.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/com/android/contacts/common/list/ContactEntryListAdapter.java b/src/com/android/contacts/common/list/ContactEntryListAdapter.java index 3653796e..22a17a74 100644 --- a/src/com/android/contacts/common/list/ContactEntryListAdapter.java +++ b/src/com/android/contacts/common/list/ContactEntryListAdapter.java @@ -76,7 +76,6 @@ public abstract class ContactEntryListAdapter extends IndexerListAdapter { private int mDirectorySearchMode; private int mDirectoryResultLimit = Integer.MAX_VALUE; - private boolean mLoading = true; private boolean mEmptyListEnabled = true; private boolean mSelectionVisible; @@ -465,9 +464,6 @@ public abstract class ContactEntryListAdapter extends IndexerListAdapter { return false; } else if (isSearchMode()) { return TextUtils.isEmpty(getQueryString()); - } else if (mLoading) { - // We don't want the empty state to show when loading. - return false; } else { return super.isEmpty(); } -- cgit v1.2.3