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 17
17
18
18
package org.wordpress.aztec.spans
19
19
20
- import android.os.Parcel
21
20
import android.text.TextPaint
22
21
import android.text.style.URLSpan
23
22
import org.wordpress.aztec.AztecAttributes
@@ -45,17 +44,6 @@ class AztecURLSpan : URLSpan, IAztecInlineSpan {
45
44
this .linkUnderline = linkStyle.linkUnderline
46
45
}
47
46
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
-
59
47
override fun updateDrawState (ds : TextPaint ) {
60
48
ds.color = if (linkColor != 0 ) linkColor else ds.linkColor
61
49
ds.isUnderlineText = linkUnderline
You can’t perform that action at this time.
0 commit comments