aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-04Map "sr-Latn" to "sr_ZZ" for internal use.Yohei Yukawa1-1/+24
We want to expose Serbian (Latin) layout as "sr-Latn" to the system, while our internal logic may not be ready to deal with "sr-Latn" yet. As a temporary workaround, we remap "sr-Latn" into "sr_ZZ" for our internal use. Bug: 27348943 Change-Id: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc
2016-03-03Revert "Close FileChannels in UpdateHandler#copyFile."Yohei Yukawa1-10/+2
This reverts commit 3e2670265e17e91c5a8cfff01711f973dccd2a0c. It turns out that the behavior change in libcore was unintentional, and it was already fixed [1]. Let's revert our workaround back to see if the existing code is compatible with N. [1]: Ibacb192abc37870c74a2500d65b94d68f9c2318e 5e7b572c2b494ab86ddd2baca3883a40a6064c1e Bug: 26239281 Change-Id: I6cd2340492d93251231e7ee37c3d4f82c1721293
2016-02-26Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Auto-generated-cl: translation import Bug: 27293916 Change-Id: I36bea98ac38c04e0ec8439923b5c1167c3fa721b
2016-02-26Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Auto-generated-cl: translation import Bug: 27293916 Change-Id: I3fae20273707ff85d3d0a15cf3a7c423b40fabf6
2016-02-24Close FileChannels in UpdateHandler#copyFile.Keisuke Kuroyanagi1-2/+10
Bug: 26239281 Change-Id: Ib30beb3548f8fb4a8e338b5da863ae28c252bc2b
2016-02-23Import translations. DO NOT MERGEBaligh Uddin46-233/+868
Auto-generated-cl: translation import Bug: 27293916 Change-Id: Ib7859a1e462deaea6024653192f1242164311371
2016-02-23Import translations. DO NOT MERGEBaligh Uddin77-89/+821
Auto-generated-cl: translation import Bug: 27293916 Change-Id: I51c0478e91b05478b5b75be36e57675afc5beb25
2016-02-23Import translations. DO NOT MERGEBaligh Uddin6-32/+864
Auto-generated-cl: translation import Bug: 27293916 Change-Id: Id6852e18eaf95fb1cdf6b63aa8c626f945274e4a
2016-02-23Import translations. DO NOT MERGEBaligh Uddin77-64/+74000
Auto-generated-cl: translation import Bug: 27293916 Change-Id: If0761e4bbf0f72db381aba5bee2e4a84e94f73f9
2016-02-23Import translations. DO NOT MERGEBaligh Uddin7-3/+99
Auto-generated-cl: translation import Bug: 27293916 Change-Id: I072c4ba9c14014d1192799e84a87128f6f58b80d
2016-02-23Import translations. DO NOT MERGEBaligh Uddin7-5/+113
Auto-generated-cl: translation import Bug: 27293916 Change-Id: Iaec5e7483fa88c51485fc48ac0dffdc2ba62daf1
2016-02-23Import translations. DO NOT MERGEBaligh Uddin6-2/+126
Auto-generated-cl: translation import Bug: 27293916 Change-Id: I2f61355323125b3b8e70d35b0685dea0ff64b1b2
2016-02-22Fix runtime crash on KitKat and prior.Yohei Yukawa1-2/+8
This is a follow up CL to the previous CL [1], in which we started calling Window#setNavigationBarColor(int) when the window visibility is changed. One thing we missed is that calling Window#setNavigationBarColor(int) on KitKant or prior devices would result in a runtime crash. Hence with this CL we do not call that method unless the OS version is N or leter, because specifying Color.TRANSPARENT would make sense on N+ devices. [1]: I14d9490e00caa852035a05830e76114cbe6af8f2 6c04339c5aadb5118b0e0a8178b3d569956bbad7 Bug: 22564251 Bug: 27302540 Change-Id: Ib7299dd8c3dad4271f8fac453e690c83bda4a954
2016-02-09Follow API removal of LocaleList#getPrimary().Yohei Yukawa2-5/+14
This follows up to a recent CL [1] that removed #getPrimary() method from LocaleList class. [1] I75f77aea6b75e38793ed8477e5e5a4420d5e6d85 fee44846376c212114223fc4259382921e6dca7a Bug: 26984092 Change-Id: Ied4678d35c4dcb380ce24e9bce9336dbbf6c16b8
2016-02-08Import translations. DO NOT MERGEGeoff Mendal3-4/+4
Change-Id: Iddf2184f6d13e5a788ec2ed303346ff05dcbf377 Auto-generated-cl: translation import
2016-02-03Import translations. DO NOT MERGEGeoff Mendal1-2/+2
Change-Id: Iebd3e06f3913a687d1490aa71421da337eea4200 Auto-generated-cl: translation import
2016-02-02Suppress redundant TYPE_WINDOWS_STATE_CHANGED.Yohei Yukawa1-1/+3
Bug: 23975618 Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e
2016-02-02Import translations. DO NOT MERGEGeoff Mendal44-219/+854
Change-Id: I4c93370fa263289fb64c2ea20de36d3c29c5779f Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: Ib9e977ec15516085e0d9c91e237ea05d3ef761af Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-32/+864
Change-Id: If476fa833f4bbf7fcef0020c8803f2708832b727 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: Ied3f429a108b3fa47e5c0f8c71b8a7ec60f7de2c Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-3/+99
Change-Id: Ia854ef967086df83683588d555d040567c379c76 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-5/+113
Change-Id: I3298816f22de3d4088800d34940e25a192fc422e Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal44-219/+854
Change-Id: Ic276e51570f43120ac8058d86e618a9c5d821b9e Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-2/+126
Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: I7ebf89cb1cc21515ed1c03f4738aa6fbc2ddc711 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-32/+864
Change-Id: Ieee874fbcf2772e6bc9dfea1d8d6ab973604f106 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: I319087599a69dbc502792528a1f6a6f271f01a83 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-3/+99
Change-Id: I5d515d10a10996742473c4747a5a232fdd179b0c Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-5/+113
Change-Id: I5b5f1b6b2034af820e116b4bb0ca592add026abf Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-2/+126
Change-Id: I49316abaf3db35799511fb25edbde618bb839ab3 Auto-generated-cl: translation import
2016-01-22Experimental automatic language switching support.Yohei Yukawa2-1/+70
With this CL, LatinIME switches the current subtype from its enabled subtypes based on the first locale in EditorInfo#hintLocales. This functionality is still experimental, and will be triggered only when EditorInfo#hintLocales is specified by the application. Bug: 22859862 Change-Id: Ibd0559b370d8aa0d50d1bada8ecfdac0ed8db898
2016-01-22Support EditorInfo#hintLocales in compat library.Yohei Yukawa2-0/+48
This CL updates LatinIME's compatibility library so that we can access EditorInfo#hintLocales without directly depending on unreleased SDK. Bug: 22859862 Change-Id: I4ba7d294bc314002c3abf8842f097a4249783364
2016-01-21Use "languageTag" in RichInputMethodSubtype.Yohei Yukawa2-1/+19
With this CL, RichInputMethodSubtype#getLocale() starts returning a Locale object that is initialized with "languageTag" when it is specified. No behavior change is intended when "languageTag" attribute is not available or specified. Bug: 22858221 Change-Id: I23f2e479b8e284ce589c6950b071ba84c5dd8ce1
2016-01-21Experimentally specify languageTag attribute.Yohei Yukawa1-0/+6
With previous CLs [1][2], now we can associate a BCP 47 language tag for each InputMethodSubtype in XML resource file by "languageTag" attribute. In order to test that the functionality, we start using "languageTag" for some subtypes. Note that specifying "languageTag" for all the existing subtypes is beyond the goal of this CL, which should be handled in subsequent CLs. Here is the list of subtypes that start having "languageTag" attribute. - android:imeSubtypeLocale="en_US" -> android:languageTag="en-US" - android:imeSubtypeLocale="en_GB" -> android:languageTag="en-GB" - android:imeSubtypeLocale="fr " -> android:languageTag="fr" - android:imeSubtypeLocale="fr_CA" -> android:languageTag="fr-CA" - android:imeSubtypeLocale="fr_CH" -> android:languageTag="fr-CH" - android:imeSubtypeLocale="tl" -> android:languageTag="fil" [1]: I77db5b99a7cf745d800db75baf135bb60ad04820 8d6eeb01df72891acd3aa75e64aa1595a41cc96e [2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98 b8456a6a483ce62c81b92f613561fb761be0f3e8 Bug: 22858221 Change-Id: I37cb9ce196f2e23589e60ce34475504405778bbb
2016-01-20Import translations. DO NOT MERGEGeoff Mendal1-2/+2
Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d Auto-generated-cl: translation import
2016-01-18Import translations. DO NOT MERGEGeoff Mendal1-9/+9
Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6 Auto-generated-cl: translation import
2016-01-18Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc Auto-generated-cl: translation import
2016-01-11Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd Auto-generated-cl: translation import
2016-01-07Hide settings-key until the device is unlocked.Yohei Yukawa2-0/+91
Starting in N, we are going to have new APIs to officially support the situation where apps need to run before the user has unlocked their device for the first time. For IME developers those APIs would be important not only because IMEs developers may want to support other apps that support that feature but also because IMEs developers have already needed to pay attention to the same situation where the IME is running so that the user can enter the initial password (e.g. for an encrypted device). Bug 11270326 is a perfect example of this scenario. Now we can disable settings-key until the device is unlocked by using the new API when running in Android N devices. Bug: 11270326 Change-Id: Ie1c6efa63b60b91430f1a78dde624d0f3dff3c69
2016-01-06Import translations. DO NOT MERGEGeoff Mendal1-3/+3
Change-Id: Ie923e0212ba100e460fb8bc53717aaa08cfd72ee Auto-generated-cl: translation import
2016-01-06Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: I47324173fd4ac0776afc1a44647e4bef21c461f9 Auto-generated-cl: translation import
2015-12-21Import translations. DO NOT MERGEGeoff Mendal2-5/+5
Change-Id: I2a938e925f9175325fb445358bfa881ddb16415c Auto-generated-cl: translation import