Fix toLanguageTag() after upgrading ICU to 64.2

ICU has been upgraded to version 64.2 which introduced test failure when
creating locales. There was a behaviour change in uloc_canonicalize()
method which previously preserved languages "und" and "root" but now it
collapses them to an empty string. So basically, after some discussion
ICU folks agreed that "root", "und" and "" locales should mean pretty
much the same thing and behaviour of some methods has been changed to
make things consistent. See more at

Bug: 125283072
Test: mmm -j frameworks/minikin/tests/unittest && \
      adb sync data && \
      adb shell /data/nativetest/minikin_tests/minikin_tests

Change-Id: I5a8f84f0cfa8d55fe2b29ff5a8592db8b487944f
1 file changed
tree: 93840893e4e9a57783b563782f68990265de168a
  1. .clang-format
  2. Android.bp
  3. PREUPLOAD.cfg
  4. app/
  5. doc/
  6. include/
  7. libs/
  8. tests/
  9. tools/