diff options
author | mdooley <mdooley@google.com> | 2017-09-15 10:22:21 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-15 12:14:27 -0700 |
commit | 1bd727efdd4cb6c3651ddbe86f4ec8ce826ac419 (patch) | |
tree | 3a0b154618761137d9d71d77275b94b8e497c646 /java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java | |
parent | 235ecb1b43c6afce0880d034f5bd33d2ce61c8ac (diff) |
Updating voicemail TOS UI to match mocks
verizon TOS screen shot 1: https://drive.google.com/open?id=0B9o_KvtLkcuIU3VpLUpqcXBUYy1QY19UUk81a29sdGQyNEZZ
verizon TOS screen shot 2: https://drive.google.com/open?id=0B9o_KvtLkcuIN3R6SUFjS3RVTWhZQUM1UzhoajhNUF9ZbzJJ
non-verizon TOS screen shot: https://drive.google.com/open?id=0B9o_KvtLkcuIeVFYaWhYZmRzYVctU2F6N1VqazcycGpmNmRZ
Bug: 37340510
Test: manual and update unit test
PiperOrigin-RevId: 168851805
Change-Id: I7be27360093cae315b7249152e10d1beae5c5966
Diffstat (limited to 'java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java')
-rw-r--r-- | java/com/android/dialer/app/voicemail/error/VoicemailErrorAlert.java | 4 |
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); |