History log of /frameworks/base/core/java/android/text/style/LocaleSpan.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a70d4a90a029910f788c3e7f8715cf3b842b1e2b 03-Jun-2015 Alan Viverette <alanv@google.com> Prevent poorly-extended ParcelableSpans from writing to parcels

If a developer extends an existing ParcelableSpan and overwrites
writeToParcel, TextUtils will crash when attempting to unparcel
since the span type ID is not accurate. This CL makes a separate
framework-private method for writeToParcel to ensure that even if
a developer extends a ParcelableSpan class, they won't modify the
parceling or unparceling code that's tied to the span type ID.

Bug: 21274544
Change-Id: If4c3506a55999df7a3b6d87cb8d550235d7a02c6
/frameworks/base/core/java/android/text/style/LocaleSpan.java
ec97b4ddb467803d8637af2b64868b7b17861318 18-Aug-2012 Victoria Lease <violets@google.com> LocaleSpan makes Han disambiguation easy!

I've also provided TextView.setTextLocale() for use in single-language
TextViews.

Change-Id: I7f1b0d49a2ece957a7b9b5d65d48385bf2c2a668
/frameworks/base/core/java/android/text/style/LocaleSpan.java