From c2d8df96c034e25d9e2dc1f73506d554bca8935c Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Wed, 7 Nov 2012 18:17:23 -0800 Subject: Further clean-up of PhoneFavoriteFragment. Moving common dependencies from Contacts to ContactsCommon. Bug: 6993891 Change-Id: I810454230dd614bf849504ec301fd1f80a80e57f --- src/com/android/dialer/list/PhoneFavoriteFragment.java | 10 +++++----- src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/com/android/dialer/list/PhoneFavoriteFragment.java b/src/com/android/dialer/list/PhoneFavoriteFragment.java index a82acb875..385e1d108 100644 --- a/src/com/android/dialer/list/PhoneFavoriteFragment.java +++ b/src/com/android/dialer/list/PhoneFavoriteFragment.java @@ -50,12 +50,12 @@ import com.android.contacts.common.ContactTileLoaderFactory; import com.android.contacts.common.dialog.ClearFrequentsDialog; import com.android.contacts.common.list.ContactListFilter; import com.android.contacts.common.list.ContactListItemView; +import com.android.contacts.common.list.ContactTileAdapter; +import com.android.contacts.common.list.ContactTileView; +import com.android.contacts.common.list.PhoneNumberListAdapter; import com.android.contacts.common.preference.ContactsPreferences; import com.android.contacts.interactions.ImportExportDialogFragment; import com.android.contacts.list.ContactListFilterController; -import com.android.contacts.list.ContactTileAdapter; -import com.android.contacts.list.ContactTileView; -import com.android.contacts.list.PhoneNumberListAdapter; import com.android.contacts.util.AccountFilterUtil; import com.android.dialer.R; @@ -63,8 +63,8 @@ import com.android.dialer.R; * Fragment for Phone UI's favorite screen. * * This fragment contains three kinds of contacts in one screen: "starred", "frequent", and "all" - * contacts. To show them at once, this merges results from {@link com.android.contacts.list.ContactTileAdapter} and - * {@link com.android.contacts.list.PhoneNumberListAdapter} into one unified list using {@link PhoneFavoriteMergedAdapter}. + * contacts. To show them at once, this merges results from {@link com.android.contacts.common.list.ContactTileAdapter} and + * {@link com.android.contacts.common.list.PhoneNumberListAdapter} into one unified list using {@link PhoneFavoriteMergedAdapter}. * A contact filter header is also inserted between those adapters' results. */ public class PhoneFavoriteFragment extends Fragment implements OnItemClickListener { diff --git a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java index 6b85c0c97..aa5ded58d 100644 --- a/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java +++ b/src/com/android/dialer/list/PhoneFavoriteMergedAdapter.java @@ -27,11 +27,11 @@ import android.widget.SectionIndexer; import com.android.contacts.common.list.ContactEntryListAdapter; import com.android.contacts.common.list.ContactListItemView; -import com.android.contacts.list.ContactTileAdapter; +import com.android.contacts.common.list.ContactTileAdapter; import com.android.dialer.R; /** - * An adapter that combines items from {@link com.android.contacts.list.ContactTileAdapter} and + * An adapter that combines items from {@link com.android.contacts.common.list.ContactTileAdapter} and * {@link com.android.contacts.common.list.ContactEntryListAdapter} into a single list. In between those two results, * an account filter header will be inserted. */ -- cgit v1.2.3