Avoid NPE in trimToLengthWithEllipsis().
Currently, the text paramter is annotated with @Nullable but passing a null value will cause an NPE. Test: atest core/tests/coretests/src/android/text/TextUtilsTest.java Change-Id: I95a71246aa0fe3398f09cb9b4b037ca096900ad4
Loading
Please register or sign in to comment