Commit Graph

42159 Commits

Author SHA1 Message Date
Yohei Yukawa
f33dcc3a60 [automerger skipped] Bump targetSdkVersion to "30" am: 07ce283acd -s ours am: 516ab1c9b1 -s ours am: 8405e5b18f -s ours
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f304 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: I769efe0432474510a98ff2365321ee9fea6e5a3b
2021-06-17 10:51:03 +00:00
Yohei Yukawa
cc01153442 [automerger skipped] Bump targetSdkVersion to "30" am: 07ce283acd am: 036d3a68d1 -s ours am: ff75f321a7 -s ours
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f304 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: I9937aaedc70955d1b66bf70a2c8a70dc926765c5
2021-06-17 10:50:42 +00:00
Yohei Yukawa
8405e5b18f [automerger skipped] Bump targetSdkVersion to "30" am: 07ce283acd -s ours am: 516ab1c9b1 -s ours
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f304 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: Ib3d0cc6737d6ac5b03240114fc65503873b2f5f7
2021-06-17 10:43:53 +00:00
Yohei Yukawa
ff75f321a7 [automerger skipped] Bump targetSdkVersion to "30" am: 07ce283acd am: 036d3a68d1 -s ours
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f304 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: I312515621927fa92db2af43e6df3f075a555cb9e
2021-06-17 10:42:45 +00:00
Yohei Yukawa
036d3a68d1 Bump targetSdkVersion to "30" am: 07ce283acd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: Ie29ef64dd7638aeb2bdcaddc9a7384b7dae0f761
2021-06-17 10:34:36 +00:00
Yohei Yukawa
516ab1c9b1 [automerger skipped] Bump targetSdkVersion to "30" am: 07ce283acd -s ours
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f304 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309

Change-Id: Ifc9ea2e2344d5a501e9ff031410cc4f1da99c38c
2021-06-17 10:33:11 +00:00
Yohei Yukawa
07ce283acd Bump targetSdkVersion to "30"
With this CL, versionCode, targetSdkVersion and minSdkVersion will be
bumped/set as follows:

       versionCode: 28 -> 30
  targetSdkVersion: 28 -> 30
     minSdkVersion: 21

As far as we know, there should be no user-visible behavior change on
supported OS versions.

Fix: 189558760
Test: manually verified that LatinIME still is functional
Change-Id: I3a7deb452960b370f5290f3d1bac9c79fe935303
Merged-In: I4bf7588c62fb77bf78d4afcb665e9bfbbef53966
(cherry picked from commit 360052f304)
2021-06-15 11:13:09 -07:00
Treehugger Robot
ec826bdea2 Merge "Bump targetSdkVersion to "30"" am: c880212a59 am: c7fa63d4c5 am: a6fbccdd9e am: b6ae7ebae0
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355

Change-Id: I4188cc4f29dafdbf9e58935d35e25a1415d0877a
2021-06-15 07:08:17 +00:00
Treehugger Robot
b6ae7ebae0 Merge "Bump targetSdkVersion to "30"" am: c880212a59 am: c7fa63d4c5 am: a6fbccdd9e
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355

Change-Id: I8be18798ecac3b163c27024c2a6217945b80e6ec
2021-06-15 06:59:03 +00:00
Treehugger Robot
a6fbccdd9e Merge "Bump targetSdkVersion to "30"" am: c880212a59 am: c7fa63d4c5
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355

Change-Id: Ie0ef45d6f1171bd3767bd1a26001e9513a0b94fe
2021-06-15 06:49:43 +00:00
Treehugger Robot
c7fa63d4c5 Merge "Bump targetSdkVersion to "30"" am: c880212a59
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355

Change-Id: I63caa1f35eeda340064f05c0310d3a5eccbb1690
2021-06-15 06:35:05 +00:00
Treehugger Robot
c880212a59 Merge "Bump targetSdkVersion to "30"" 2021-06-15 06:24:25 +00:00
Yohei Yukawa
360052f304 Bump targetSdkVersion to "30"
With this CL, versionCode, targetSdkVersion and minSdkVersion will be
bumped/set as follows:

       versionCode: 28 -> 30
  targetSdkVersion: 28 -> 30
     minSdkVersion: 21

As far as we know, there should be no user-visible behavior change on
supported OS versions.

Fix: 189558760
Test: manually verified that LatinIME still is functional
Change-Id: I4bf7588c62fb77bf78d4afcb665e9bfbbef53966
2021-06-14 20:32:50 -07:00
TreeHugger Robot
784451363d Merge "Make direct-reply notification as HUN in EditTextVariations" 2021-06-10 15:37:02 +00:00
Ming-Shin Lu
ed13b1971d Make direct-reply notification as HUN in EditTextVariations
Also, set the content intent to launch an editorActivity as the message
notifiation when tapping the notification.

Bug: 190057993
Test: make EditTextVariations, manual test by using EditTextVariations
      app to simulate the issue step.
Change-Id: I1a4463dc44031eaebb286ad2a289870e97a1c475
2021-06-10 14:32:51 +00:00
Treehugger Robot
f8015171f8 Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa87 am: 16a01e7c0d am: 9d1ee4ae5a am: 524b30d70d
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930

Change-Id: I1006b19a75f665776fb01db830a885617f7dfc1d
2021-05-28 07:10:53 +00:00
Treehugger Robot
524b30d70d Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa87 am: 16a01e7c0d am: 9d1ee4ae5a
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930

Change-Id: I5a0cfb63667799ba52441eac6e083a05c8d6bae4
2021-05-28 06:50:42 +00:00
Treehugger Robot
9d1ee4ae5a Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa87 am: 16a01e7c0d
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930

Change-Id: Ic168a7cbb656a3939061ad58bd0cc7991c0ceff1
2021-05-28 06:26:09 +00:00
Treehugger Robot
16a01e7c0d Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa87
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930

Change-Id: I1d756d3f5a24e21b791ec0cd4726dadc1daa0759
2021-05-28 06:00:13 +00:00
Treehugger Robot
7ae00baa87 Merge "Fix Keyboard Theme update when device orientation changed" 2021-05-28 05:38:10 +00:00
Ming-Shin Lu
407f8a3216 Fix Keyboard Theme update when device orientation changed
As CL[1] introduces diplayContext to address
IME service context's Resources / DisplayMetrics update when
switching IME window to another display after onConfigurationChange.

In LatinIME#onInitializeInterface, we only update keyboard theme context
and displayContent when the displayId is changed, but overlooked even
the displayId is the same, the display context's resource configuration
might changed like the device orientation changd.

It leads getDefaultKeyboardHeight will get wrong config_max_keyboard_height
fraction value when rotating to landcape because the context resources
didn't get updated.

Add a check to update keyboard theme context when the current display
configuation is changed accordingly.

[1]: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed

Fix: 186507147
Test: manual as issue steps
    1) Turn on auto-rotate
    2) Open Settings
    3) Rotating the device to landscape mode
    4) Tap “Search settings", verify if the soft-keyboard shown and the
       size is expected.
Change-Id: I288a31baf04fa2e63d6b4a14ad81b401cb36ece5
2021-05-28 10:18:03 +08:00
Pedro Loureiro
fdf368cd6a [automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb913 am: 0605aae4de am: 7e35eb12cd -s ours am: e03eca7c3a -s ours am: 852620260a -s ours
am skip reason: Merged-In Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75af3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: Icd0e5f7e85c6fc833ec532c524a560f7eefbe193
2021-05-15 07:28:19 +00:00
Pedro Loureiro
5d31ae5558 [automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb913 am: 0605aae4de am: 7e35eb12cd -s ours am: e03eca7c3a -s ours
am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75af3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: I1f2f9b6d139f43196581f9ed37085a09d27eaa06
2021-04-15 14:01:51 +00:00
Pedro Loureiro
852620260a [automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb913 am: 0605aae4de am: 7e35eb12cd -s ours am: e03eca7c3a -s ours
am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75af3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: I7d1467ce37893a886be106891f141436eea0c3fd
2021-04-15 13:43:08 +00:00
Pedro Loureiro
e03eca7c3a [automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb913 am: 0605aae4de am: 7e35eb12cd -s ours
am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75af3 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: Ibc1f110c41ad148391c842766732892c31340e03
2021-04-15 13:15:22 +00:00
Pedro Loureiro
7e35eb12cd Merge "Add lint baseline to address NewApi errors" am: 685abcb913 am: 0605aae4de
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: I1dca662027a09c4377349f1cc59e7bd5317d1e2a
2021-04-15 12:27:00 +00:00
Pedro Loureiro
0605aae4de Merge "Add lint baseline to address NewApi errors" am: 685abcb913
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572

Change-Id: I7d81740175550e0be44ac9069bfa6e2f1fb8716d
2021-04-15 11:49:52 +00:00
Pedro Loureiro
685abcb913 Merge "Add lint baseline to address NewApi errors" 2021-04-15 11:03:47 +00:00
Pedro Loureiro
57d4aef280 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: Ic37bd8c531af7e68c939ce9c05614c37e6699b03
Merged-In: Ic37bd8c531af7e68c939ce9c05614c37e6699b03
2021-04-13 15:29:44 +00:00
Pedro Loureiro
600337924c Add lint baseline to address NewApi errors am: b47de75af3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/13709215

Change-Id: Ie65cf843ac4720d9755d21bcc504fb1b8234e336
2021-04-13 14:56:44 +00:00
Pedro Loureiro
b47de75af3 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: Ic37bd8c531af7e68c939ce9c05614c37e6699b03
2021-04-12 10:48:26 +00:00
Xin Li
4aca0eb44e [automerger skipped] Mark ab/7061308 as merged in stage. am: b7027a6614 -s ours am: 8a739fb004 -s ours am: 86bf93cdeb -s ours
am skip reason: Change-Id Ie1a0307f3c8f3fc4013b4395cb843f1a96d32b6d with SHA-1 644c0062b9 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie8e971764f26c6309c1c09842b6ce48d0f1e9d5c
2021-02-21 20:15:56 +00:00
Bob Badour
ae9e967c9e Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME" am: 27f8543961 am: 155f6bbb4a am: 4fd407ab72 am: a2330e5fb4
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1588514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I16bb24cb52de2e21c5eeed439eb238751f48e4f5
2021-02-21 20:09:13 +00:00
Xin Li
86bf93cdeb [automerger skipped] Mark ab/7061308 as merged in stage. am: b7027a6614 -s ours am: 8a739fb004 -s ours
am skip reason: Change-Id Ie1a0307f3c8f3fc4013b4395cb843f1a96d32b6d with SHA-1 644c0062b9 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9ad294a9e69b8745bfee510271ab83e3ef1e8d2d
2021-02-21 19:11:52 +00:00
Bob Badour
a2330e5fb4 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME" am: 27f8543961 am: 155f6bbb4a am: 4fd407ab72
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1588514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I154b31a133b0b6b756a536f1c5a6c6e1b62ef1b9
2021-02-21 19:04:28 +00:00
Xin Li
8a739fb004 [automerger skipped] Mark ab/7061308 as merged in stage. am: b7027a6614 -s ours
am skip reason: Change-Id Ie1a0307f3c8f3fc4013b4395cb843f1a96d32b6d with SHA-1 644c0062b9 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ieabf19901256253b47b767a3639b14fd3ece89a5
2021-02-20 12:06:21 +00:00
Xin Li
b7027a6614 Mark ab/7061308 as merged in stage.
Bug: 180401296
Merged-In: Ie1a0307f3c8f3fc4013b4395cb843f1a96d32b6d
Change-Id: I833ab148ad9f4632a639c45b97d0b6aebd7471f1
2021-02-20 00:24:34 -08:00
Bob Badour
4fd407ab72 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME" am: 27f8543961 am: 155f6bbb4a
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1588514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8ff8434dbc8097b1b1c6d36b9e652166ac19c326
2021-02-19 07:48:41 +00:00
Bob Badour
155f6bbb4a Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME" am: 27f8543961
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1588514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5d0e72a1db85341c5c0139b7db54862c074d6bbd
2021-02-19 06:54:36 +00:00
Bob Badour
27f8543961 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME" 2021-02-19 06:23:21 +00:00
Bob Badour
f3d9532a32 [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  common/Android.bp
  java/Android.bp
  native/dicttoolkit/Android.bp
  native/jni/Android.bp
  tests/Android.bp
  tools/EditTextVariations/Android.bp
  tools/dicttool/Android.bp
  tools/make-keyboard-text/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I440008bffac5c97a2497970af377a9d03262b6d8
2021-02-17 09:46:27 -08:00
Treehugger Robot
87d87431fd Merge "Mark liblatinime_unittests as unit_test:true to run in presubmit in CI" am: e04480b68b am: 7471a535f4 am: ecd2dab26e am: 936ca12acb
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589854

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb23fe91a2fa73540001c262fe523fe8f91cb1b9
2021-02-17 12:27:40 +00:00
Treehugger Robot
936ca12acb Merge "Mark liblatinime_unittests as unit_test:true to run in presubmit in CI" am: e04480b68b am: 7471a535f4 am: ecd2dab26e
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589854

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8458c3d58fe2efc428a69c4591c5b87bfcbd1035
2021-02-17 12:01:31 +00:00
Treehugger Robot
ecd2dab26e Merge "Mark liblatinime_unittests as unit_test:true to run in presubmit in CI" am: e04480b68b am: 7471a535f4
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589854

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4dc6006500214b819d459dc514541a06ca8cd33a
2021-02-17 11:27:38 +00:00
Treehugger Robot
7471a535f4 Merge "Mark liblatinime_unittests as unit_test:true to run in presubmit in CI" am: e04480b68b
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589854

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd588629cd634ebf3772d16bce882bc5b1732362
2021-02-17 10:47:51 +00:00
Treehugger Robot
e04480b68b Merge "Mark liblatinime_unittests as unit_test:true to run in presubmit in CI" 2021-02-17 10:24:20 +00:00
Treehugger Robot
a4c08a41f9 [automerger skipped] Merge "Fix broken liblatinime_unittests" am: 62013c4f80 am: 5e1756c5fe am: 326ff853c7 am: 8d3ca33152 -s ours
am skip reason: Change-Id I95021965ecc2699fbce01ed0552dd28fed7f8fe4 with SHA-1 4b12569b61 is in history

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icd731a2f99f216af3ab1871b9a329244521cf716
2021-02-16 20:40:45 +00:00
Treehugger Robot
8d3ca33152 Merge "Fix broken liblatinime_unittests" am: 62013c4f80 am: 5e1756c5fe am: 326ff853c7
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I942d720895724ae24a241a59c3feaf71b5d2cba2
2021-02-16 20:09:36 +00:00
Treehugger Robot
326ff853c7 Merge "Fix broken liblatinime_unittests" am: 62013c4f80 am: 5e1756c5fe
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6dd60fb5d01feed612f81fbb33adf07b1abec0cc
2021-02-16 19:35:32 +00:00
Treehugger Robot
5e1756c5fe Merge "Fix broken liblatinime_unittests" am: 62013c4f80
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1589747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I15fc9d572d67f9d8aabb699636d18f642f30cd02
2021-02-16 19:16:10 +00:00