commit | cd217b8ace608112b47b20a61866f65b2ac13ce6 | [log] [tgz] |
---|---|---|
author | Roozbeh Pournader <roozbeh@google.com> | Tue Aug 11 16:51:21 2015 -0700 |
committer | Roozbeh Pournader <roozbeh@google.com> | Wed Aug 12 20:14:43 2015 -0700 |
tree | bfba2d381fedade78bd8cea66fe006fb9718731a | |
parent | d38e7c9387425c4c661f8ba4f4daad4f444ada4b [diff] |
Fix unintentional NPE in SpannableStringBuilder. Previously, when getSpans() was called with a null parameter, an unintentional NullPointerException would be thrown. Now, we explicitly return an empty array of Objects. Bug: 19805521 Change-Id: I52f3ae08c2bcf62f6a4d0c01f0fe08ad1134abb8