summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Eric Fischer <enf@google.com> 2010-08-05 15:29:36 -0700
committer Eric Fischer <enf@google.com> 2010-08-05 15:29:36 -0700
commit74d31ef2b2c42b54fa1f7cf94ea955ea67ab69a0 (patch)
tree9f3be4386fec6ba31db86ac8d1e6358334a17ea9 /libs/hwui/ProgramCache.cpp
parent507a4ea34038daa521036d4c820288b3166a0ed5 (diff)
Fix a bug where paragraph styles could leak onto an adjacent empty line.
When the text ends with an empty line, the getSpans() call to retrieve styles for it would also retrieve the styles of the preceding line. Add a special case to detect and prevent this. Change-Id: I888131cacce6bf45e68c53c931ebe8d58db0b7a9
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions