OSDN Git Service

TextView.append() honors autoLink attribute
authorSiyamed Sinir <siyamed@google.com>
Tue, 10 Nov 2015 23:34:29 +0000 (15:34 -0800)
committerSiyamed Sinir <siyamed@google.com>
Thu, 12 Nov 2015 23:25:31 +0000 (15:25 -0800)
commita0db63f6efaac538a371d1390f27e07f209651a9
treeec1c9623eb4af70afa8909c4a7bf28d7fdf15794
parentb39ca7fa47de1a8211cf810d531da73a15754b15
TextView.append() honors autoLink attribute

The append() method now checks if autoLink is set and adds the
URLSpans to given text before appending to the existing text.

Fixes https://code.google.com/p/android/issues/detail?id=1244
Fixes https://code.google.com/p/android/issues/detail?id=191353

Bug: 1404366
Bug: 25222125
Change-Id: I47a8beec9799e4f92ce266ceed41a634b7f7cc96
core/java/android/widget/TextView.java