From 49df1ebc402f93cbf97202ab7a838259f804f06a Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Tue, 28 Nov 2017 20:15:50 -0600 Subject: NotSupported: Fix links Signed-off-by: Jason A. Donenfeld --- app/src/main/java/com/wireguard/android/NotSupportedActivity.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/java') diff --git a/app/src/main/java/com/wireguard/android/NotSupportedActivity.java b/app/src/main/java/com/wireguard/android/NotSupportedActivity.java index 65612855..7b4d0bab 100644 --- a/app/src/main/java/com/wireguard/android/NotSupportedActivity.java +++ b/app/src/main/java/com/wireguard/android/NotSupportedActivity.java @@ -6,6 +6,7 @@ import android.os.Build; import android.os.Bundle; import android.text.Html; import android.text.Spanned; +import android.text.method.LinkMovementMethod; import com.wireguard.android.databinding.NotSupportedActivityBinding; @@ -21,6 +22,7 @@ public class NotSupportedActivity extends Activity { messageText = Html.fromHtml(messageHtml, Html.FROM_HTML_MODE_COMPACT); else messageText = Html.fromHtml(messageHtml); + binding.notSupportedMessage.setMovementMethod(LinkMovementMethod.getInstance()); binding.notSupportedMessage.setText(messageText); } } -- cgit v1.2.3