OSDN Git Service

Trebuchet: Use ICU4J public APIs
authorGabriele M <moto.falcon.git@gmail.com>
Sun, 19 Nov 2017 16:26:34 +0000 (17:26 +0100)
committerGabriele M <moto.falcon.git@gmail.com>
Sat, 25 Nov 2017 11:06:14 +0000 (11:06 +0000)
commit3d8069053e9b5c17ab25cbbbeb916c233f6da24b
tree01272cace6384c537e8c72b0adad30fc6d6d0570
parentb49b2b12938f51abab09ce73c497635cb9992823
Trebuchet: Use ICU4J public APIs

The private implementation of AlphabeticIndexCompat in libcore.icu
has been removed, so Trebuchet always uses BaseAlphabeticIndex,
which doesn't work properly with all the alphabets. Since Android
7.0, the Android platform exposes a subset of the ICU4J APIs, so
switch to that and drop the fallback code.

Change-Id: Id8e5538f70d074d5ffeea0c23ef3f2a72ec0f3bf
src/com/android/launcher3/compat/AlphabeticIndexCompat.java