OSDN Git Service

Don't use BoringLayout to display text that has paragraph-style markup.
authorEric Fischer <enf@google.com>
Tue, 18 Aug 2009 00:16:44 +0000 (17:16 -0700)
committerEric Fischer <enf@google.com>
Tue, 18 Aug 2009 00:16:44 +0000 (17:16 -0700)
commit86fcef87b802ee58147127dc5cca940239a30404
tree57e1ffb20759c52fbe5af76aff79d439e44b5acd
parent01f750d6fa03f16ef93802618a6ccf8b353ae8e2
Don't use BoringLayout to display text that has paragraph-style markup.

BoringLayout assumes it doesn't have to do any work to calculate the
line height.  In this case, though, there may actually be work to be
done, so have it fall back to StaticLayout to do the more thorough job.

Bug 2051050
core/java/android/text/BoringLayout.java