(CharSequence text)
| 1907 | } |
| 1908 | |
| 1909 | static StringBuilder getSpans(CharSequence text) { |
| 1910 | StringBuilder sb = new StringBuilder(); |
| 1911 | TextUtils.dumpSpans(text, new Printer() { |
| 1912 | @Override |
| 1913 | public void println(String x) { |
| 1914 | if (sb.length() > 0) |
| 1915 | sb.append(' '); |
| 1916 | sb.append(x.replace('\n', '|')).append(']'); |
| 1917 | } |
| 1918 | }, "["); |
| 1919 | return sb; |
| 1920 | } |
| 1921 | } |
no outgoing calls
no test coverage detected