OSDN Git Service

Fix: RTL sublocales need to display RTL
authorMihai Nita <mnita@google.com>
Fri, 29 Jan 2016 20:32:56 +0000 (12:32 -0800)
committerMihai Nita <mnita@google.com>
Mon, 1 Feb 2016 18:51:54 +0000 (10:51 -0800)
commit24215ecadce5f44de33959b4f512482f39ac4c92
treed2b2b6be6fa7000fc64d470f2980aa1a7ad384a2
parentf3e5d1d483231d615f5e77032f787fcd8047488b
Fix: RTL sublocales need to display RTL

When the langage selected in the first step is right-to-left the
localized region names should also be rendered right-to-left,
regardless of the UI language of the system itself.
We only need this to happen for the sub-locale because all labels
are localized in the same language (the parent one), so it is all
consistent, not the mixture we have in the language selection.

Bug: 26278041
Change-Id: I54c4306763458be691a1ba0c2bc2dba613beb8c5
core/java/com/android/internal/app/SuggestedLocaleAdapter.java