diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-16 18:52:29 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-16 18:52:29 +0000 |
commit | a682c9208f6aa4d955d64c45ecf0be3f1dc21aa5 (patch) | |
tree | ce3e26f0b407cea2707b4c4e598e5fcfa8a90375 /java/com/android/contacts/common/list/ContactListItemView.java | |
parent | 4114f539e72fa7b3be26949a2b33aa8ce25a68ea (diff) | |
parent | 4f02639a38aa0fe522cfeb4c316d5bdffdeca7cd (diff) |
Merge "Rename Lightbringer to Duo"
Diffstat (limited to 'java/com/android/contacts/common/list/ContactListItemView.java')
-rw-r--r-- | java/com/android/contacts/common/list/ContactListItemView.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/contacts/common/list/ContactListItemView.java b/java/com/android/contacts/common/list/ContactListItemView.java index c605f4e87..0a5bf094b 100644 --- a/java/com/android/contacts/common/list/ContactListItemView.java +++ b/java/com/android/contacts/common/list/ContactListItemView.java @@ -81,12 +81,12 @@ public class ContactListItemView extends ViewGroup implements SelectionBoundsAdj /** IntDef for indices of ViewPager tabs. */ @Retention(RetentionPolicy.SOURCE) - @IntDef({NONE, VIDEO, LIGHTBRINGER, CALL_AND_SHARE}) + @IntDef({NONE, VIDEO, DUO, CALL_AND_SHARE}) public @interface CallToAction {} public static final int NONE = 0; public static final int VIDEO = 1; - public static final int LIGHTBRINGER = 2; + public static final int DUO = 2; public static final int CALL_AND_SHARE = 3; private final PhotoPosition mPhotoPosition = getDefaultPhotoPosition(); @@ -341,13 +341,13 @@ public class ContactListItemView extends ViewGroup implements SelectionBoundsAdj drawable.setAutoMirrored(true); description = R.string.description_search_video_call; onClickListener = v -> listener.onVideoCallIconClicked(position); - } else if (action == LIGHTBRINGER) { + } else if (action == DUO) { CallIntentBuilder.increaseLightbringerCallButtonAppearInSearchCount(); drawable = ContextCompat.getDrawable(getContext(), R.drawable.quantum_ic_videocam_vd_theme_24); drawable.setAutoMirrored(true); description = R.string.description_search_video_call; - onClickListener = v -> listener.onLightbringerIconClicked(position); + onClickListener = v -> listener.onDuoVideoIconClicked(position); } else { mCallToActionView.setVisibility(View.GONE); mCallToActionView.setOnClickListener(null); |