Commit Graph

13739 Commits (9aa5d489aa96d74f602348eb4f274c8fafbcd887)

Author SHA1 Message Date
Keisuke Kuroyanagi 30069c96ab Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev am: fce8ed98aa
am: 14ff0a66f0

* commit '14ff0a66f0fbda0dde63b4cf7b92595568e2d55e':
  Close FileChannels in UpdateHandler#copyFile.
2016-02-25 04:26:19 +00:00
Keisuke Kuroyanagi 14ff0a66f0 Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev
am: fce8ed98aa

* commit 'fce8ed98aa738a13332b6ccc9c5b145f17fae51f':
  Close FileChannels in UpdateHandler#copyFile.
2016-02-25 04:25:24 +00:00
Keisuke Kuroyanagi fce8ed98aa Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev 2016-02-25 04:23:32 +00:00
Keisuke Kuroyanagi 3e2670265e Close FileChannels in UpdateHandler#copyFile.
Bug: 26239281
Change-Id: Ib30beb3548f8fb4a8e338b5da863ae28c252bc2b
2016-02-24 20:08:27 -08:00
Yohei Yukawa ac1aaa43cc Fix runtime crash on KitKat and prior. am: 60b59042d1
am: 9f1498ca13

* commit '9f1498ca138c69cefb241fe41510452924173b32':
  Fix runtime crash on KitKat and prior.
2016-02-23 04:31:44 +00:00
Yohei Yukawa 9f1498ca13 Fix runtime crash on KitKat and prior.
am: 60b59042d1

* commit '60b59042d1f5a1449de049a7f7adb3d6e40b8b06':
  Fix runtime crash on KitKat and prior.
2016-02-23 04:25:07 +00:00
Yohei Yukawa 60b59042d1 Fix runtime crash on KitKat and prior.
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
       6c04339c5a

Bug: 22564251
Bug: 27302540
Change-Id: Ib7299dd8c3dad4271f8fac453e690c83bda4a954
2016-02-22 20:02:27 -08:00
Geoff Mendal 05b10b33f2 Merge "Import translations. DO NOT MERGE" 2016-02-22 14:11:17 +00:00
Geoff Mendal a3b3991f45 Import translations. DO NOT MERGE
Change-Id: I3bc3886537daa0297656846275e8afb069446cfc
Auto-generated-cl: translation import
2016-02-22 06:00:25 -08:00
Geoff Mendal b5053910c3 Import translations. DO NOT MERGE
Change-Id: If1a9f265062a88eddc1b0404a543cf399b72d39d
Auto-generated-cl: translation import
2016-02-22 05:57:33 -08:00
Geoff Mendal 3a54114e82 Import translations. DO NOT MERGE
Change-Id: I544c22f6950cdcaaea92569765856409dbad9464
Auto-generated-cl: translation import
2016-02-10 05:46:49 -08:00
Yohei Yukawa 440b9983e5 Follow API removal of LocaleList#getPrimary(). am: 706fce9bb0
am: 436b68dd73

* commit '436b68dd7383214d90153df5a71d630242a64478':
  Follow API removal of LocaleList#getPrimary().
2016-02-09 22:53:41 +00:00
Yohei Yukawa 436b68dd73 Follow API removal of LocaleList#getPrimary().
am: 706fce9bb0

* commit '706fce9bb0e044f281bf12742c406964b18e9190':
  Follow API removal of LocaleList#getPrimary().
2016-02-09 19:49:13 +00:00
Yohei Yukawa 706fce9bb0 Follow API removal of LocaleList#getPrimary().
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-09 01:03:52 -08:00
Geoff Mendal ab5c6774a9 Import translations. DO NOT MERGE
Change-Id: Iddf2184f6d13e5a788ec2ed303346ff05dcbf377
Auto-generated-cl: translation import
2016-02-08 11:41:14 -05:00
Geoff Mendal 434b354336 Import translations. DO NOT MERGE
Change-Id: I5d01548528fd24b7e3d3a822bd259530fca308fc
Auto-generated-cl: translation import
2016-02-08 05:17:52 -08:00
Geoff Mendal 381fcf5f68 Import translations. DO NOT MERGE
Change-Id: Iebd3e06f3913a687d1490aa71421da337eea4200
Auto-generated-cl: translation import
2016-02-03 06:10:10 -08:00
Yohei Yukawa 38b15afb47 Suppress redundant TYPE_WINDOWS_STATE_CHANGED.
Bug: 23975618
Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e
2016-02-02 13:50:57 -08:00
Geoff Mendal 65196c80de Merge branch \'mnc-dr2-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev am: 904a89c20b
am: 6de2f31f45

* commit '6de2f31f45cd51e14cc3191c6908af00674cfb0e':
  Import translations. DO NOT MERGE
2016-02-02 16:01:19 +00:00
Geoff Mendal 6de2f31f45 Merge branch \'mnc-dr2-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev
am: 904a89c20b

* commit '904a89c20bf86040a6fcae8f379c7a956eb61b98':
  Import translations. DO NOT MERGE
2016-02-02 15:54:00 +00:00
Geoff Mendal 4303801153 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:48:03 +00:00
Geoff Mendal d23b30dc24 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:46:28 +00:00
Geoff Mendal 78607504d6 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:44:40 +00:00
Geoff Mendal e27769992b Import translations. DO NOT MERGE
Change-Id: Ied3f429a108b3fa47e5c0f8c71b8a7ec60f7de2c
Auto-generated-cl: translation import
2016-02-02 10:41:59 -05:00
Geoff Mendal 98a77b4edd Import translations. DO NOT MERGE
Change-Id: Ia854ef967086df83683588d555d040567c379c76
Auto-generated-cl: translation import
2016-02-02 10:39:59 -05:00
Geoff Mendal 1e395d5f1e Import translations. DO NOT MERGE
Change-Id: I3298816f22de3d4088800d34940e25a192fc422e
Auto-generated-cl: translation import
2016-02-02 10:38:58 -05:00
Geoff Mendal ff92266641 Import translations. DO NOT MERGE
Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47
Auto-generated-cl: translation import
2016-02-02 10:37:46 -05:00
Yohei Yukawa 809c93214b Experimental automatic language switching support.
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-22 02:24:28 -08:00
Yohei Yukawa 16645966a9 Support EditorInfo#hintLocales in compat library.
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-22 02:22:11 -08:00
Yohei Yukawa 995ce45572 Use "languageTag" in RichInputMethodSubtype.
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-21 23:50:32 -08:00
Yohei Yukawa f6997344e6 Experimentally specify languageTag attribute.
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-21 23:47:11 -08:00
Geoff Mendal c968a6064b Import translations. DO NOT MERGE
Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d
Auto-generated-cl: translation import
2016-01-20 05:41:54 -08:00
Geoff Mendal d8f88aa0a2 Merge "Import translations. DO NOT MERGE" 2016-01-18 14:02:02 +00:00
Geoff Mendal 83585bf8c3 Import translations. DO NOT MERGE
Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6
Auto-generated-cl: translation import
2016-01-18 06:00:28 -08:00
Geoff Mendal b6f9777b41 Import translations. DO NOT MERGE
Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc
Auto-generated-cl: translation import
2016-01-18 05:59:35 -08:00
Geoff Mendal b9ad3f411c Import translations. DO NOT MERGE
Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd
Auto-generated-cl: translation import
2016-01-11 05:49:02 -08:00
Yohei Yukawa 9fc50c3c04 Merge "Hide settings-key until the device is unlocked." 2016-01-07 19:03:40 +00:00
David Riley 0307020627 Merge "Merge remote-tracking branch 'goog/mnc-dr-ryu-dev'" 2016-01-07 18:11:49 +00:00
Yohei Yukawa b823e12d6c Hide settings-key until the device is unlocked.
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-07 06:37:13 +00:00
Geoff Mendal d043a6faa3 Merge "Import translations. DO NOT MERGE" 2016-01-06 13:45:31 +00:00
Geoff Mendal cbf781c7ad Import translations. DO NOT MERGE
Change-Id: Ie923e0212ba100e460fb8bc53717aaa08cfd72ee
Auto-generated-cl: translation import
2016-01-06 05:31:27 -08:00
Geoff Mendal 5c52549d31 Import translations. DO NOT MERGE
Change-Id: I47324173fd4ac0776afc1a44647e4bef21c461f9
Auto-generated-cl: translation import
2016-01-06 05:28:36 -08:00
David Riley fdb2cf4950 Merge remote-tracking branch 'goog/mnc-dr-ryu-dev' 2015-12-21 12:37:57 -08:00
Geoff Mendal a78b380715 Import translations. DO NOT MERGE
Change-Id: I2a938e925f9175325fb445358bfa881ddb16415c
Auto-generated-cl: translation import
2015-12-21 05:23:19 -08:00
Geoff Mendal 91965ce45c Merge "Import translations. DO NOT MERGE" 2015-12-16 14:39:10 +00:00
Geoff Mendal 9bb12ccaa7 Merge "Import translations. DO NOT MERGE" 2015-12-16 14:38:49 +00:00
Geoff Mendal 47b0f9ee7a Merge "Import translations. DO NOT MERGE" 2015-12-16 14:38:03 +00:00
Geoff Mendal fdae9e4aeb Merge "Import translations. DO NOT MERGE" 2015-12-16 14:36:36 +00:00
Geoff Mendal b6bda4d565 Merge "Import translations. DO NOT MERGE" 2015-12-16 14:35:32 +00:00
Geoff Mendal 9b6edd4960 Merge "Import translations. DO NOT MERGE" 2015-12-16 14:34:37 +00:00