Make SpannableStringBuilder.getSpans thread-safe am: 4234144a2b
am: 9ab25678f9  -s ours

Change-Id: Icc925bba5f080e9c244910314065695d4e5957a2