diff options
| author | Chiao Cheng <chiaocheng@google.com> | 2012-12-10 18:33:24 -0800 |
|---|---|---|
| committer | Chiao Cheng <chiaocheng@google.com> | 2012-12-10 18:33:24 -0800 |
| commit | b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c (patch) | |
| tree | 805e532f3615a6bc6ffc40781c94248cc2d73a75 /src | |
| parent | cdab4eb17e2f880f59b1e64bbed4db90dce137e5 (diff) | |
| download | android_packages_apps_ContactsCommon-b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c.tar.gz android_packages_apps_ContactsCommon-b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c.tar.bz2 android_packages_apps_ContactsCommon-b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c.zip | |
Add empty list message.
Bug: 7403225
Change-Id: Ib57e5bbb17ac7f3a7a08c2c0b015d2bd7a61a459
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/contacts/common/list/ContactEntryListAdapter.java | 4 |
1 files changed, 0 insertions, 4 deletions
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(); } |
