diff options
Diffstat (limited to 'java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java')
-rw-r--r-- | java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java index a5a0cff21..a6489cdd3 100644 --- a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java +++ b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java @@ -683,7 +683,11 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder inviteVideoButtonView.setTag(IntentProvider.getDuoInviteIntentProvider(number)); inviteVideoButtonView.setVisibility(View.VISIBLE); } else if (duo.isEnabled(mContext)) { - setUpVideoButtonView.setTag(IntentProvider.getSetUpDuoIntentProvider()); + if (!duo.isInstalled(mContext)) { + setUpVideoButtonView.setTag(IntentProvider.getInstallDuoIntentProvider()); + } else { + setUpVideoButtonView.setTag(IntentProvider.getSetUpDuoIntentProvider()); + } setUpVideoButtonView.setVisibility(View.VISIBLE); } break; |