summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-11 12:03:41 -0700
committerYorke Lee <yorkelee@google.com>2013-09-11 12:03:41 -0700
commit88bc23f8e6a823415ef269fc523ce81e828468b6 (patch)
tree0e3ad0ef465c0f70ffc080c3be0c9475f40bc021 /src
parent9a0f2498251247781c7ff0f20dc09c509eccecc9 (diff)
downloadpackages_apps_ContactsCommon-88bc23f8e6a823415ef269fc523ce81e828468b6.tar.gz
packages_apps_ContactsCommon-88bc23f8e6a823415ef269fc523ce81e828468b6.tar.bz2
packages_apps_ContactsCommon-88bc23f8e6a823415ef269fc523ce81e828468b6.zip
Fix missing search header in People
Bug: 10688908 Change-Id: Ibfdb0bdd1f706e115f56e56267e2c053308975d9
Diffstat (limited to 'src')
-rw-r--r--src/com/android/contacts/common/list/ContactEntryListAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/list/ContactEntryListAdapter.java b/src/com/android/contacts/common/list/ContactEntryListAdapter.java
index 34ff2e81..f3286a8a 100644
--- a/src/com/android/contacts/common/list/ContactEntryListAdapter.java
+++ b/src/com/android/contacts/common/list/ContactEntryListAdapter.java
@@ -90,8 +90,8 @@ public abstract class ContactEntryListAdapter extends IndexerListAdapter {
public ContactEntryListAdapter(Context context) {
super(context);
- addPartitions();
setDefaultFilterHeaderText(R.string.local_search_label);
+ addPartitions();
}
protected void setDefaultFilterHeaderText(int resourceId) {
@@ -134,6 +134,7 @@ public abstract class ContactEntryListAdapter extends IndexerListAdapter {
partition.setDirectoryType(getContext().getString(R.string.contactsList));
partition.setPriorityDirectory(true);
partition.setPhotoSupported(true);
+ partition.setLabel(mDefaultFilterHeaderText.toString());
return partition;
}