OSDN Git Service

Remove unused constants in android_text_StaticLayout.cpp
authorRaph Levien <raph@google.com>
Tue, 31 Mar 2015 17:42:05 +0000 (10:42 -0700)
committerRaph Levien <raph@google.com>
Tue, 31 Mar 2015 17:42:05 +0000 (10:42 -0700)
commitee101a3c6627e7cf871f81583bb62f719485a2bd
treeb25ccfceb98410fd2d3e9b61f5feaca98d4ec62a
parent89e0a1a033e6db0316f807cee49bb51f6f6fc4b5
Remove unused constants in android_text_StaticLayout.cpp

The logic for computing line breaking moved to Minikin, and so the
various Unicode characters with special meaning for line breaks are no
longer used in android_text_StaticLayout.cpp (which is now a fairly
thin wrapper that just does JNI glue). This patch deletes the
constants, which makes the warnings-as-errors setting of our current
clang build happy.

Change-Id: I1bb3596ca4f0c78a8e185af9000c0c366fb9b020
core/jni/android_text_StaticLayout.cpp