OSDN Git Service

Use constants instead of resources for ellipsis.
authorIgor Viarheichyk <viarheichyk@google.com>
Thu, 11 Sep 2014 22:07:05 +0000 (15:07 -0700)
committerRaph Levien <raph@google.com>
Thu, 29 Jan 2015 23:00:13 +0000 (15:00 -0800)
commit6f9f1d4b3b9f9844dc294758398f87cc7aa934b0
treead35b3fe08b45c3752ceccf9af8267bd5ebd19a4
parent1a5ac5b415fea8098686aa08bffc6da3ada31938
Use constants instead of resources for ellipsis.

All supported locales use only U+2025 and U+2026 to represent
ellipses, and it will unlikely change in future. Given translated
resources are inconsistent and often use three dots it is safer
to use constants instead of resources.

(cherry-pick of ed0daa93e48d38e54a7ad1c99c461510a4c07599.)

Bug: 18542179
Change-Id: I51a6cb903f62f739fbadd6b78e5765c0028d641a
core/java/android/text/TextUtils.java
core/res/res/values/strings.xml