From d3d36e391944b0a131707c81c8ac5374753660bc Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Fri, 4 Mar 2016 13:08:23 -0800 Subject: [PATCH] Use android:languageTag for Serbian-Latin layout. Serbian-Latin is one of subtypes that our APIs could not easily deal with their locale. Now we can safely rely on BCP 47 language tag hence we should do. See my previous CLs [1][2][3] for details. Note that this CL is supposed to have no effect on the behavior of LatinIME because we internall remap "sr-Latn" to "sr_ZZ" [4]. [1]: I77db5b99a7cf745d800db75baf135bb60ad04820 8d6eeb01df72891acd3aa75e64aa1595a41cc96e [2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98 b8456a6a483ce62c81b92f613561fb761be0f3e8 [3]: I37cb9ce196f2e23589e60ce34475504405778bbb f6997344e6e31ee6e7b95aec6853e0ded00d4083 [4]: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc 31a3f07c2117180df524d6b2e78089897c8ea807 Bug: 27348943 Change-Id: Icd0667c40c6f1310699f3deb1234b7861ec2fa24 --- java/res/xml/method.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml index 4a0acb24e..3ab254307 100644 --- a/java/res/xml/method.xml +++ b/java/res/xml/method.xml @@ -673,6 +673,7 @@ android:label="@string/subtype_sr_ZZ" android:subtypeId="0xf4a5569c" android:imeSubtypeLocale="sr_ZZ" + android:languageTag="sr-Latn" android:imeSubtypeMode="keyboard" android:imeSubtypeExtraValue="KeyboardLayoutSet=serbian_qwertz,AsciiCapable,EmojiCapable" android:isAsciiCapable="true"