diff options
| author | 2015-08-11 16:51:21 -0700 | |
|---|---|---|
| committer | 2015-08-12 20:14:43 -0700 | |
| commit | cd217b8ace608112b47b20a61866f65b2ac13ce6 (patch) | |
| tree | bfba2d381fedade78bd8cea66fe006fb9718731a /libs/hwui/ProgramCache.cpp | |
| 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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions