OSDN Git Service

Use SpannableFactory for TextView.removeSuggestionSpans
authorSiyamed Sinir <siyamed@google.com>
Sat, 6 Aug 2016 05:44:12 +0000 (22:44 -0700)
committerSiyamed Sinir <siyamed@google.com>
Tue, 9 Aug 2016 16:19:52 +0000 (16:19 +0000)
commit05af162ab591294c11fe01e2db449c6990599b68
tree858e4115e5a3c375b97392b2dd76bc5102ec455d
parenta8f1e2249d619915852e8c52b89d00597fa34421
Use SpannableFactory for TextView.removeSuggestionSpans

TextView.removeSuggestionSpans function was creating an instance of
Spannable using the constructor. This CL changes it to use
Spannable.Factory to create the instance.

Bug: 30709627
Change-Id: I190b68c5937e7194622d2a01de78143c1ce469ac
core/java/android/widget/TextView.java