Commit graph

38827 commits

Author SHA1 Message Date
Yohei Yukawa
091ffff370 Map "sr-Latn" to "sr_ZZ" for internal use.
am: 31a3f07c21

* commit '31a3f07c2117180df524d6b2e78089897c8ea807':
  Map "sr-Latn" to "sr_ZZ" for internal use.
2016-03-04 22:55:31 +00:00
Yohei Yukawa
d3d36e3919 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
      f6997344e6
 [4]: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc
      31a3f07c21

Bug: 27348943
Change-Id: Icd0667c40c6f1310699f3deb1234b7861ec2fa24
2016-03-04 13:08:23 -08:00
Yohei Yukawa
31a3f07c21 Map "sr-Latn" to "sr_ZZ" for internal use.
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-04 13:07:17 -08:00
Yohei Yukawa
e1a9d7ae67 Revert "Close FileChannels in UpdateHandler#copyFile."
am: 4b46e71163

* commit '4b46e711632f6e5d868e6d84a6211384d37e1911':
  Revert "Close FileChannels in UpdateHandler#copyFile."
2016-03-03 22:00:47 +00:00
Yohei Yukawa
4b46e71163 Revert "Close FileChannels in UpdateHandler#copyFile."
This reverts commit 3e2670265e.

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-03-03 21:11:14 +00:00
Baligh Uddin
8bfecc2521 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: bd517fb3bb  -s ours

* commit 'bd517fb3bb176db8123aef812cfbdbb09654c484':
  Import translations. DO NOT MERGE
2016-02-27 05:33:15 +00:00
Baligh Uddin
e4995d7490 Import translations. DO NOT MERGE
am: 522adee3cf  -s ours

* commit '522adee3cfd7b96a8c46c4c9ead91b917761b7fa':
  Import translations. DO NOT MERGE
2016-02-27 05:32:59 +00:00
Baligh Uddin
bd517fb3bb Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-27 05:30:00 +00:00
Baligh Uddin
522adee3cf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I36bea98ac38c04e0ec8439923b5c1167c3fa721b
2016-02-26 17:22:55 -08:00
Baligh Uddin
65fa229539 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I3fae20273707ff85d3d0a15cf3a7c423b40fabf6
2016-02-26 17:20:47 -08:00
Baligh Uddin
3774d51fd1 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 033ee4cfce  -s ours

* commit '033ee4cfce0fb9b37b4e35f192e4c69ed9bf5316':
  Import translations. DO NOT MERGE
2016-02-25 16:57:04 +00:00
Baligh Uddin
d8c66e1246 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 0f0e6d9caf  -s ours

* commit '0f0e6d9cafd02b143b0a7be444bee39a379351f6':
  Import translations. DO NOT MERGE
2016-02-25 16:56:50 +00:00
Baligh Uddin
49b9b5be82 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 4fc7c8d2b7  -s ours

* commit '4fc7c8d2b702be24cf4a5e0fbb674ffed54476be':
  Import translations. DO NOT MERGE
2016-02-25 16:56:36 +00:00
Baligh Uddin
10dbd268bb Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: da7fcf9734  -s ours

* commit 'da7fcf97345de3d22070a36baeda320a2821864c':
  Import translations. DO NOT MERGE
2016-02-25 16:56:18 +00:00
Baligh Uddin
ce294a76f8 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 8573a177e2  -s ours

* commit '8573a177e22c01f244bc924dc57feda482237413':
  Import translations. DO NOT MERGE
2016-02-25 16:56:04 +00:00
Baligh Uddin
5716809c00 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 9dc556a5e3  -s ours

* commit '9dc556a5e30b9ff49ebf6260888a84751fcf0d90':
  Import translations. DO NOT MERGE
2016-02-25 16:55:50 +00:00
Baligh Uddin
f274395042 Import translations. DO NOT MERGE
am: cb83108117  -s ours

* commit 'cb831081173e2ea85a0505e6c170008c9dc51732':
  Import translations. DO NOT MERGE
2016-02-25 16:55:36 +00:00
Baligh Uddin
033ee4cfce Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:30 +00:00
Baligh Uddin
0f0e6d9caf Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:28 +00:00
Baligh Uddin
4fc7c8d2b7 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:26 +00:00
Baligh Uddin
da7fcf9734 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:24 +00:00
Baligh Uddin
8573a177e2 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:22 +00:00
Baligh Uddin
9dc556a5e3 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2016-02-25 16:23:20 +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
Baligh Uddin
cb83108117 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: Ib7859a1e462deaea6024653192f1242164311371
2016-02-23 15:03:10 -08:00
Baligh Uddin
11d116c406 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I51c0478e91b05478b5b75be36e57675afc5beb25
2016-02-23 14:58:15 -08:00
Baligh Uddin
8721958ce5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: Id6852e18eaf95fb1cdf6b63aa8c626f945274e4a
2016-02-23 14:57:06 -08:00
Baligh Uddin
47a77c5103 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: If0761e4bbf0f72db381aba5bee2e4a84e94f73f9
2016-02-23 14:56:20 -08:00
Baligh Uddin
b34c902d03 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I072c4ba9c14014d1192799e84a87128f6f58b80d
2016-02-23 14:55:15 -08:00
Baligh Uddin
7e68c71c50 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: Iaec5e7483fa88c51485fc48ac0dffdc2ba62daf1
2016-02-23 14:54:23 -08:00
Baligh Uddin
96a2d556ad Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I2f61355323125b3b8e70d35b0685dea0ff64b1b2
2016-02-23 14:53:39 -08: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
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
6740e310e9 Import translations. DO NOT MERGE
am: ab5c6774a9  -s ours

* commit 'ab5c6774a902539024b0aeffc9bcd8812180c536':
  Import translations. DO NOT MERGE
2016-02-08 19:04:32 +00: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
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
5074304dbd Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 7ac5ae6209 -s ours
am: fb23664e2e  -s ours

* commit 'fb23664e2e2886a7bf330be8f58bc43fea78aa26':
  Import translations. DO NOT MERGE
2016-02-02 16:06:48 +00:00
Geoff Mendal
5c4f81f49c Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: b5c715a7b1 -s ours
am: 986fc583ba  -s ours

* commit '986fc583ba20019cefd36357bf40dd326f31200e':
  Import translations. DO NOT MERGE
2016-02-02 16:06:12 +00:00
Geoff Mendal
8584055d93 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 9af165b878 -s ours
am: 2244b48985  -s ours

* commit '2244b489850684cc350899adced14fef1ff9973f':
  Import translations. DO NOT MERGE
2016-02-02 16:01:32 +00: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
a506eec9dc Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: c1967edb1d -s ours am: 89266e7eef -s ours
am: 1bfc6ebc53  -s ours

* commit '1bfc6ebc536a9feb8d26c363b6a7e8642d761012':
  Import translations. DO NOT MERGE
2016-02-02 16:01:06 +00:00
Geoff Mendal
6911dbdb06 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 5e30472110 -s ours am: 77b1667000 -s ours
am: 8da77361d8  -s ours

* commit '8da77361d8bb6ccf03e5f8d5f14acab10934624e':
  Import translations. DO NOT MERGE
2016-02-02 16:00:53 +00:00
Geoff Mendal
a255ca803d Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: edb0f1c3b1 -s ours am: 91d7e15277 -s ours
am: 0f242a6c12  -s ours

* commit '0f242a6c12232c07c2d9965b62ae6af3aa46a988':
  Import translations. DO NOT MERGE
2016-02-02 16:00:39 +00:00
Geoff Mendal
84690b1b01 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 0bd70798c6 -s ours am: b9e5a1ff03 -s ours
am: bd8252ef04  -s ours

* commit 'bd8252ef04c2282c3f5f311e963f225de246253d':
  Import translations. DO NOT MERGE
2016-02-02 16:00:26 +00:00
Geoff Mendal
2e4edc70f1 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: d23b30dc24 -s ours
am: ae01a6a8a4  -s ours

* commit 'ae01a6a8a44006c3881242c1852f6c6dd0a3ffe0':
  Import translations. DO NOT MERGE
2016-02-02 16:00:09 +00:00