(Spanned text, int start, int limit, Class type)
| 591 | } |
| 592 | |
| 593 | private static int nextSpanTransition(Spanned text, int start, int limit, Class type) { |
| 594 | try { |
| 595 | return text.nextSpanTransition(start, limit, type); |
| 596 | } catch (Throwable ex) { |
| 597 | Log.e(ex); |
| 598 | return limit; |
| 599 | } |
| 600 | } |
| 601 | |
| 602 | private static <T> T[] getSpans(Spanned text, int start, int end, Class<T> type) { |
| 603 | try { |
no test coverage detected