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
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
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
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
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
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
Treehugger Robot
62013c4f80
Merge "Fix broken liblatinime_unittests"
2021-02-16 18:45:48 +00:00
Julien Desprez
b19114e93b
Mark liblatinime_unittests as unit_test:true to run in presubmit in CI
...
This will ensure that the target stays green.
Note: we will clean up the explicit unit_tests:true once cc_test default is changed.
Change-Id: I5153ca918e94b370b1f08289118877d209385ba2
Test: presubmit
Bug: 180014759
2021-02-16 18:31:04 +00:00
Adrian Roos
8b3d8f48e1
Fix broken liblatinime_unittests
...
Change-Id: I95021965ecc2699fbce01ed0552dd28fed7f8fe4
Merged-In: I95021965ecc2699fbce01ed0552dd28fed7f8fe4
Fixes: 180014759
Test: atest liblatinime_unittests --host
2021-02-16 17:49:08 +00:00
Xin Li
644c0062b9
Mark ab/6881855 as merged am: 478d45fde7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/13112993
Change-Id: Ie1a0307f3c8f3fc4013b4395cb843f1a96d32b6d
2020-11-23 22:31:40 +00:00
Xin Li
478d45fde7
Mark ab/6881855 as merged
...
Bug: 172690556
Change-Id: If9cf64206ba6c851ac2d72a5682a5481b25f4764
2020-11-23 11:31:57 -08:00
Xin Li
99b2349754
[automerger skipped] Skip ab/6749736 in stage. am: 587c17241a
-s ours am: 962c1dd464
-s ours
...
am skip reason: Change-Id Idac165021a2a4835aaefeff5dc4aa9086f91015b with SHA-1 ccfef1083a
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/12797210
Change-Id: I0059462c62170fc5652c8453a0d9349abe996f2f
2020-10-09 02:58:26 +00:00
Xin Li
962c1dd464
[automerger skipped] Skip ab/6749736 in stage. am: 587c17241a
-s ours
...
am skip reason: Change-Id Idac165021a2a4835aaefeff5dc4aa9086f91015b with SHA-1 ccfef1083a
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/12797210
Change-Id: Ia9b9fa1e1983ad307649562d70d79be43c759238
2020-10-09 02:24:18 +00:00
Xin Li
587c17241a
Skip ab/6749736 in stage.
...
Merged-In: Idac165021a2a4835aaefeff5dc4aa9086f91015b
Change-Id: I41711acdaf34010adb53412e3a970cb8cff0add8
2020-10-08 17:23:11 -07:00
Xin Li
b7bacbff96
[automerger skipped] Merge "Merge Android R" am: c65e16db60
-s ours am: 4908f9ae18
-s ours am: e2a6086b5c
-s ours am: 029fc7ffa9
-s ours
...
am skip reason: Change-Id Ia56c511912ee213555b170faf292f1640d90cb75 with SHA-1 98755ccae9
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1422510
Change-Id: Idb95a634a561669ed5e396f499a2d203a8c51f76
2020-09-11 03:58:57 +00:00
Xin Li
029fc7ffa9
[automerger skipped] Merge "Merge Android R" am: c65e16db60
-s ours am: 4908f9ae18
-s ours am: e2a6086b5c
-s ours
...
am skip reason: Change-Id Ia56c511912ee213555b170faf292f1640d90cb75 with SHA-1 98755ccae9
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1422510
Change-Id: I1362f20646ccdb11a15df1eb73947764eba57928
2020-09-11 03:33:27 +00:00
Xin Li
e2a6086b5c
[automerger skipped] Merge "Merge Android R" am: c65e16db60
-s ours am: 4908f9ae18
-s ours
...
am skip reason: Change-Id Ia56c511912ee213555b170faf292f1640d90cb75 with SHA-1 98755ccae9
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1422510
Change-Id: If1dde117b9fc7e6fce93d62f9ee20ff67ccfd1ad
2020-09-11 02:02:36 +00:00
Xin Li
4908f9ae18
[automerger skipped] Merge "Merge Android R" am: c65e16db60
-s ours
...
am skip reason: Change-Id Ia56c511912ee213555b170faf292f1640d90cb75 with SHA-1 98755ccae9
is in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1422510
Change-Id: Ifb0e8dbe8fe34b47cc18957462003375865382b6
2020-09-11 00:40:02 +00:00
Xin Li
c65e16db60
Merge "Merge Android R"
2020-09-10 17:22:04 +00:00
Xin Li
60be45ecb2
Merge Android R
...
Bug: 168057903
Merged-In: Ia56c511912ee213555b170faf292f1640d90cb75
Change-Id: Id2ed98b896c8f23246df31fead70c94e764aab97
2020-09-08 16:56:16 -07:00
Xin Li
77c76a8286
[automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: 98755ccae9
-s ours am: ded6b22fdc
-s ours am: 89a158c18c
-s ours
...
am skip reason: Change-Id Ic072c06935a52c466d43fe4787cee7c7da73756c with SHA-1 67bb31cfa3
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/12470255
Change-Id: I5c93222dee9d33ba60c57324b97c3ef82f0f4b5c
2020-09-01 22:09:54 +00:00
Xin Li
89a158c18c
[automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: 98755ccae9
-s ours am: ded6b22fdc
-s ours
...
am skip reason: Change-Id Ic072c06935a52c466d43fe4787cee7c7da73756c with SHA-1 67bb31cfa3
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/12470255
Change-Id: I61c68204b62b3e6dd93e6600900c2a5c1520c857
2020-09-01 21:46:38 +00:00
Xin Li
ded6b22fdc
[automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: 98755ccae9
-s ours
...
am skip reason: Change-Id Ic072c06935a52c466d43fe4787cee7c7da73756c with SHA-1 67bb31cfa3
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/12470255
Change-Id: Ic33e106283dedb15e2553222690608f112cdf275
2020-09-01 20:37:02 +00:00
Xin Li
98755ccae9
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: Ic072c06935a52c466d43fe4787cee7c7da73756c
Change-Id: Ia56c511912ee213555b170faf292f1640d90cb75
2020-08-27 10:16:59 -07:00
Adrian Roos
ac34bd401a
Merge "Update LatinIME to comply with Android's inclusive language guidance" am: 33fa7e7126
am: dcf1ecf794
am: 188b10a3a5
am: 86727e6bcb
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1398188
Change-Id: I42dae9f765e9f3410d89e8d9422205c317a4706a
2020-08-13 11:32:32 +00:00
Adrian Roos
86727e6bcb
Merge "Update LatinIME to comply with Android's inclusive language guidance" am: 33fa7e7126
am: dcf1ecf794
am: 188b10a3a5
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1398188
Change-Id: I01cb309f71af6a6b6ec0889b4618926722e3b6fa
2020-08-13 11:00:48 +00:00
Adrian Roos
188b10a3a5
Merge "Update LatinIME to comply with Android's inclusive language guidance" am: 33fa7e7126
am: dcf1ecf794
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1398188
Change-Id: I1b9fe45a2b45645c33c1901b6aaba401a2d439f7
2020-08-13 10:38:27 +00:00
Adrian Roos
dcf1ecf794
Merge "Update LatinIME to comply with Android's inclusive language guidance" am: 33fa7e7126
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1398188
Change-Id: I1f6a3172d69957c82840635c68820b3aff98f8bf
2020-08-13 10:20:19 +00:00
Adrian Roos
33fa7e7126
Merge "Update LatinIME to comply with Android's inclusive language guidance"
2020-08-13 10:03:51 +00:00
Adrian Roos
444da56414
Update LatinIME to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 162536543
Change-Id: I5df9e60ec6caa2e1e3253532c2b59b74adfc1749
2020-08-12 13:07:02 +02:00
Treehugger Robot
cfc80fd304
Merge "Update language to comply with Android’s inclusive language guidance" am: b01f678ca8
am: 6fc67acb39
am: 94047a03d9
am: ccfef1083a
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371237
Change-Id: I5356f0a29c0a2a0240222dce6d1b4277b0cd22fe
2020-07-31 22:18:26 +00:00
Treehugger Robot
ccfef1083a
Merge "Update language to comply with Android’s inclusive language guidance" am: b01f678ca8
am: 6fc67acb39
am: 94047a03d9
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371237
Change-Id: Idac165021a2a4835aaefeff5dc4aa9086f91015b
2020-07-31 21:54:17 +00:00
Treehugger Robot
94047a03d9
Merge "Update language to comply with Android’s inclusive language guidance" am: b01f678ca8
am: 6fc67acb39
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371237
Change-Id: Idb33c914d97c7cea11200c96aec716b5f469a190
2020-07-31 21:24:36 +00:00
Treehugger Robot
6fc67acb39
Merge "Update language to comply with Android’s inclusive language guidance" am: b01f678ca8
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371237
Change-Id: I5a54bf19ea1ba28abfc4e4451f23bc008749b344
2020-07-31 21:00:45 +00:00
Treehugger Robot
b01f678ca8
Merge "Update language to comply with Android’s inclusive language guidance"
2020-07-31 20:40:28 +00:00
Seigo Nonaka
0c549e7424
Update language to comply with Android’s inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205
2020-07-31 11:28:59 -07:00
Treehugger Robot
a6c7396edf
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f
am: 892eabe4c5
am: a2581fb80c
am: 994774ebaf
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602
Change-Id: Ia5f79b6d872cf14ed41627e3027858370a3bfcbe
2020-07-31 18:21:20 +00:00
Treehugger Robot
994774ebaf
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f
am: 892eabe4c5
am: a2581fb80c
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602
Change-Id: Ia2ead878ea92eeed5048cf2cbfa6c2a80b8c6b20
2020-07-31 18:03:36 +00:00
Treehugger Robot
a2581fb80c
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f
am: 892eabe4c5
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602
Change-Id: I97c7ce3619bbb6570117d9aad43f18ffa2664059
2020-07-31 17:38:18 +00:00
Treehugger Robot
892eabe4c5
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602
Change-Id: Ie77533b68469bf4018bffdecda72792fe89aba71
2020-07-31 17:21:34 +00:00
Treehugger Robot
9490b1b92f
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-31 17:05:33 +00:00
Jeff Sharkey
1d9bf42009
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I171bc299e660f96f20041a67a3052bd8a2ed781c
2020-07-31 09:33:35 -06:00
Treehugger Robot
c1a6a00c4f
Merge "Update language to comply with Android’s inclusive language guidance" am: 4eb192212f
am: a2695d0ca6
am: a61e424d0a
am: 9ebba46c77
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371236
Change-Id: I685b5e27b3ae1301a94471e11daa64e3b146ade7
2020-07-23 05:25:14 +00:00
Treehugger Robot
9ebba46c77
Merge "Update language to comply with Android’s inclusive language guidance" am: 4eb192212f
am: a2695d0ca6
am: a61e424d0a
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371236
Change-Id: I59c0f66bf37497f687d45d7a56e837eecda26c11
2020-07-23 05:08:17 +00:00
Treehugger Robot
a61e424d0a
Merge "Update language to comply with Android’s inclusive language guidance" am: 4eb192212f
am: a2695d0ca6
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371236
Change-Id: Id1960131ce017f0a46dffc917d29b171a231472a
2020-07-23 04:45:12 +00:00
Treehugger Robot
a2695d0ca6
Merge "Update language to comply with Android’s inclusive language guidance" am: 4eb192212f
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371236
Change-Id: Ie132872cad36f2fa2b28eec2be7b4bb148e55d7f
2020-07-23 04:29:32 +00:00