summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java')
-rw-r--r--java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java b/java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java
index dbdf0f067..7d6665de6 100644
--- a/java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java
+++ b/java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java
@@ -18,7 +18,7 @@ package com.android.dialer.app.voicemail.error;
import android.content.Context;
import android.support.annotation.VisibleForTesting;
-import android.text.util.Linkify;
+import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
@@ -121,8 +121,8 @@ public class VoicemailErrorAlert {
TextView tosTitle = (TextView) view.findViewById(R.id.tos_message_title);
tosTitle.setText(message.getTitle());
TextView tosDetails = (TextView) view.findViewById(R.id.tos_message_details);
- tosDetails.setAutoLinkMask(Linkify.WEB_URLS);
tosDetails.setText(message.getDescription());
+ tosDetails.setMovementMethod(LinkMovementMethod.getInstance());
Assert.checkArgument(message.getActions().size() == 2);
Action primaryAction = message.getActions().get(0);