Skip to content

Commit

Permalink
Don't use Linkify.ALL
Browse files Browse the repository at this point in the history
This drops the legacy US address detection.
  • Loading branch information
t895 authored and thestinger committed Jan 4, 2025
1 parent 3b51907 commit 638f98b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,8 @@ open class MainActivity : AppCompatActivity(),
}

"UTF-8" -> {
textView.autoLinkMask = Linkify.ALL
textView.autoLinkMask =
Linkify.WEB_URLS or Linkify.PHONE_NUMBERS or Linkify.EMAIL_ADDRESSES
textView.text = rawText
}
}
Expand Down

0 comments on commit 638f98b

Please sign in to comment.