diff options
author | twyen <twyen@google.com> | 2018-06-25 15:25:35 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-26 13:44:21 -0700 |
commit | 84a6d29f889148c49db278f0682bbdf8d8466b1f (patch) | |
tree | 66c17b71e60b0f84ea98b8cf69f64570ff1718d1 /java/com/android/dialer/contactsfragment | |
parent | 38e0ed4c08726d20f3ab68da0328b0ca8bb92ec7 (diff) |
Move contacts.commons.R to dialer.contacts.resources
This reduces dependency on contacts.common which is full of things that should not be there.
Ideally resources inside dialer.contacts.resources should be individually moved to appropriate locations, but the resources are too large to work with.
TEST=TAP
Test: TAP
PiperOrigin-RevId: 202029832
Change-Id: I95bfcb59799b9c3640de03ad0680624fc1b2c3a3
Diffstat (limited to 'java/com/android/dialer/contactsfragment')
-rw-r--r-- | java/com/android/dialer/contactsfragment/ContactsAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/contactsfragment/ContactsAdapter.java b/java/com/android/dialer/contactsfragment/ContactsAdapter.java index 44abe29da..5afd41f90 100644 --- a/java/com/android/dialer/contactsfragment/ContactsAdapter.java +++ b/java/com/android/dialer/contactsfragment/ContactsAdapter.java @@ -128,7 +128,8 @@ final class ContactsAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder LetterTileDrawable.TYPE_DEFAULT); String photoDescription = - context.getString(com.android.contacts.common.R.string.description_quick_contact_for, name); + context.getString( + com.android.dialer.contactphoto.R.string.description_quick_contact_for, name); contactViewHolder.getPhoto().setContentDescription(photoDescription); // Always show the view holder's header if it's the first item in the list. Otherwise, compare |