File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
aztec/src/main/kotlin/org/wordpress/aztec/spans Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 1717
1818package org.wordpress.aztec.spans
1919
20- import android.os.Parcel
2120import android.text.TextPaint
2221import android.text.style.URLSpan
2322import org.wordpress.aztec.AztecAttributes
@@ -45,17 +44,6 @@ class AztecURLSpan : URLSpan, IAztecInlineSpan {
4544 this .linkUnderline = linkStyle.linkUnderline
4645 }
4746
48- constructor (src: Parcel ) : super (src) {
49- this .linkColor = src.readInt()
50- this .linkUnderline = src.readInt() != 0
51- }
52-
53- override fun writeToParcel (dest : Parcel , flags : Int ) {
54- super .writeToParcel(dest, flags)
55- dest.writeInt(linkColor)
56- dest.writeInt(if (linkUnderline) 1 else 0 )
57- }
58-
5947 override fun updateDrawState (ds : TextPaint ) {
6048 ds.color = if (linkColor != 0 ) linkColor else ds.linkColor
6149 ds.isUnderlineText = linkUnderline
You can’t perform that action at this time.
0 commit comments