Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abec4def authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Show underline when text show a link"

parents ab06fc24 605218c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ public class LinkifyUtils {
            @Override
            public void updateDrawState(TextPaint ds) {
                super.updateDrawState(ds);
                ds.setUnderlineText(false);
                ds.setUnderlineText(true);
            }
        };
        spannableContent.setSpan(spannableLink, beginIndex, endIndex,
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public class AnnotationSpan extends URLSpan {
    @Override
    public void updateDrawState(TextPaint ds) {
        super.updateDrawState(ds);
        ds.setUnderlineText(false);
        ds.setUnderlineText(true);
    }

    public static CharSequence linkify(CharSequence rawText, LinkInfo... linkInfos) {