Treehugger Robot
3a06d6180b
Merge "Fix array-related errorprone warnings" am: 370d41de92
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538
Change-Id: I8c9cc9d63affa572ca6bf79ff156f69f7ee96db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 01:13:44 +00:00
Treehugger Robot
370d41de92
Merge "Fix array-related errorprone warnings"
2022-08-24 00:40:18 +00:00
Xin Li
50ddfe15d1
[automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f
-s ours am: b34de510ec
-s ours am: a8004dc404
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: Ifc14b063977916d54bec38aa1d4f7f09bbe9d401
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:23:42 +00:00
Xin Li
7aa0255dc4
[automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7
-s ours am: 9238ba585c
-s ours am: c17909460e
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: I35d476cbc57a934f0ba08a3ef203a1ec42ad7cd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 00:23:40 +00:00
Xin Li
a8004dc404
[automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f
-s ours am: b34de510ec
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: I0aa5940a87d0a9cf5eb40d8d3841f0d0e6a7c310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:37:31 +00:00
Xin Li
c17909460e
[automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7
-s ours am: 9238ba585c
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: I210262f2fe9ad726ae1c4c9a832ec6db5fd76a80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:37:29 +00:00
Xin Li
b34de510ec
[automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: I2c79acfa20a9200db266fd982b142905ec8cf0b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:10:23 +00:00
Xin Li
9238ba585c
[automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832
Change-Id: Ifa4bae36305d050c1a6b5a569ad471f85a9d51d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:10:22 +00:00
Xin Li
7005e0c12f
Merge "DO NOT MERGE - Merge Android 13"
2022-08-16 19:08:18 +00:00
Xin Li
2012c03ae7
DO NOT MERGE - Merge Android 13
...
Bug: 242648940
Merged-In: Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07
Change-Id: Id6eef7910c3955e9dd6c49749406520d86e73dad
2022-08-15 22:04:51 -07:00
Cole Faust
7ad99e3431
Fix array-related errorprone warnings
...
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: I689397a7196277de3fd301836e72f7555e2036cb
2022-08-15 18:54:02 -07:00
Xin Li
ee92039436
[automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 0f20a65101
-s ours am: 612860d449
-s ours am: 3b9989cf61
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/19094630
Change-Id: Ic73fb15f7f2918bd2a5bb5f318abad607240209b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 00:02:15 +00:00
Xin Li
3b9989cf61
[automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 0f20a65101
-s ours am: 612860d449
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/19094630
Change-Id: I8e3947377fc021574b7d21f76873f4c119e355ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:56:32 +00:00
Xin Li
612860d449
[automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 0f20a65101
-s ours
...
am skip reason: Merged-In Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 with SHA-1 f134ea3848
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/19094630
Change-Id: I096e09860be31172ba86e1770c15b59013b8af2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 22:13:02 +00:00
Xin Li
0f20a65101
Merge tm-dev-plus-aosp-without-vendor@8763363
...
Bug: 236760014
Merged-In: Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07
Change-Id: I9d0e133b64c2d6afb795eb049c58bc2ff5ab79b5
2022-06-27 23:39:16 +00:00
Ming-Shin Lu
7e26debb41
EditTextVariations: create a IME focusable overlay for test am: f134ea3848
am: 1fbc8de4b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/17759925
Change-Id: I82dd9d78d3e802f7c65113d2a126ab82d3de9663
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 12:09:07 +00:00
Ming-Shin Lu
1fbc8de4b7
EditTextVariations: create a IME focusable overlay for test am: f134ea3848
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/17759925
Change-Id: I42513112e3cdc14629874ab2cd424b62d37a694d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 11:54:15 +00:00
Ming-Shin Lu
f134ea3848
EditTextVariations: create a IME focusable overlay for test
...
Bug: 228766370
Test: manual by using EditorTextVariations tool
1) make and install EditTextVariations
2) Enable "Settings > Display over other apps" for
EditTextVariations
3) Launch EditTextVariations from all apps
4) Menu -> Show IME focuable overlay
5) Go to home screen by gesture or pressing home key
6) Launch any app (e.g. Chrome) and tap the editor
7) Expect IME can show up
Change-Id: Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07
2022-04-21 16:42:23 +08:00
Xin Li
be5ec69242
[automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a
-s ours am: c932faf4df
-s ours am: a9786e84d9
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: I80f31beb6bc22130874b31d172b2fd60cc4a5d5b
2022-03-09 10:06:07 +00:00
Xin Li
eef2791684
[automerger skipped] Merge Android 12L am: 810578896e
-s ours am: d4cc9ab2e5
-s ours am: 39f406f8a0
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: I043e801e312f24aa88bc0d318b5a3f7989e51409
2022-03-09 10:02:46 +00:00
Xin Li
a9786e84d9
[automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a
-s ours am: c932faf4df
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: I44c6f56f70b925b34509b1b82c969edf7ad8f139
2022-03-08 11:07:39 +00:00
Xin Li
39f406f8a0
[automerger skipped] Merge Android 12L am: 810578896e
-s ours am: d4cc9ab2e5
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: I1655b2e046170ac38d2e87f5b98226340d1da90e
2022-03-08 11:04:16 +00:00
Xin Li
c932faf4df
[automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: I9a987e3c8ba883d4471b9adc60181e659e6b2665
2022-03-08 10:22:52 +00:00
Xin Li
d4cc9ab2e5
[automerger skipped] Merge Android 12L am: 810578896e
-s ours
...
am skip reason: Merged-In Iea002572895dfdb74f72b5d6fe7a1efbd4139cac with SHA-1 6454ff57c1
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2013416
Change-Id: Ic5c820036065498cfbeaea02232a21831616e3c5
2022-03-08 10:19:26 +00:00
Xin Li
85ef644a8a
Merge "Merge Android 12L"
2022-03-08 06:54:28 +00:00
Xin Li
810578896e
Merge Android 12L
...
Bug: 222710654
Merged-In: Iea002572895dfdb74f72b5d6fe7a1efbd4139cac
Change-Id: I4460e29cf09d440add5649faea52954c241bc524
2022-03-08 00:19:41 +00:00
Wilson Wu
0d93961d85
Remove unused method for dictionarypack
...
Remove the showDictionaryAvailableNotification
method since there is no module use it.
Bug: 209479751
Test: presubmit
Change-Id: I4c88b4a2d0cb36761d9102ce35260f93303625d9
2022-02-23 15:35:18 +08:00
Xin Li
73edbfa25a
[automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: 6454ff57c1
-s ours am: c04a7cc90f
-s ours
...
am skip reason: Merged-In If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d with SHA-1 6c752d8eca
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16845178
Change-Id: Ia2961743696694ae9fd4b467b119a2caa3ecce46
2022-02-14 18:21:21 +00:00
Xin Li
c04a7cc90f
[automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: 6454ff57c1
-s ours
...
am skip reason: Merged-In If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d with SHA-1 6c752d8eca
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16845178
Change-Id: I359693d3bf6c2ea3e4ce9e3ca6929524741e237b
2022-02-14 18:03:57 +00:00
Xin Li
6454ff57c1
Merge sc-v2-dev-plus-aosp-without-vendor@8084891
...
Bug: 214455710
Merged-In: If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d
Change-Id: Iea002572895dfdb74f72b5d6fe7a1efbd4139cac
2022-02-11 06:57:48 +00:00
Yohei Yukawa
c8ed1c660b
Merge "Update OWNERS file" am: 34f49426b8
am: 7b3ccaf646
am: e1dd6643a2
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927
Change-Id: Ibadb6b010bc553edbf207b9a7bb100fe45776601
2022-02-11 04:44:26 +00:00
Yohei Yukawa
e1dd6643a2
Merge "Update OWNERS file" am: 34f49426b8
am: 7b3ccaf646
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927
Change-Id: If7f80583b7d04c24eec411e4bba36f96de63a0e5
2022-02-11 04:27:49 +00:00
Yohei Yukawa
7b3ccaf646
Merge "Update OWNERS file" am: 34f49426b8
...
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927
Change-Id: I2e4812d5aadd665503e3a4fe860016d8e86a02f7
2022-02-11 04:15:42 +00:00
Yohei Yukawa
34f49426b8
Merge "Update OWNERS file"
2022-02-11 04:00:54 +00:00
Yohei Yukawa
f71d040307
Update OWNERS file
...
Fix: 218752122
Test: presubmit
Change-Id: Ia4948d81f3f13518428375d635154c58c7fe9628
2022-02-10 01:34:32 +00:00
TreeHugger Robot
ee855c281c
Merge "Add Notification Permission for T"
2022-01-27 06:33:05 +00:00
Wilson Wu
75f77d6666
Add Notification Permission for T
...
From T, apps need POST_NOTIFICATION permission
to send the notification.
-. Add the permission into Manifest.
-. Request runtime permission when it's needed.
Bug: 209479751
Test: Manual test as following steps:
1. Open EditTextVariations at T device.
2. Tap direct reply to send notification.
3. Verify the permission dialog show up.
4. Send the notification if permission granted.
Change-Id: Iadae00f635ee556d1d1de9abbb9da0498b4070f1
2022-01-26 19:09:10 +08:00
TreeHugger Robot
aa4f78c52c
Merge "add post_notification permission to manifest so the package can send notifications on T+"
2022-01-25 20:48:15 +00:00
Lais Andrade
97a3132c95
Remove flag to ignore user settings from haptic feedback
...
The keyboard key-press haptic feedback should follow the user
settings for "Touch feedback".
Bug: 185351540
Test: manual
Change-Id: I718d3bf15b1ef841a869a898038d0eca1eca78f0
2022-01-17 19:16:47 +00:00
Ming-Shin Lu
3fd1be7430
Using IME context to inflate layout from S_V2 am: 6c752d8eca
am: 36c1220335
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686
Change-Id: I16a579dd8e759bc32bcd453ba218be5cdc1dcd7c
2022-01-13 02:48:06 +00:00
Ming-Shin Lu
36c1220335
Using IME context to inflate layout from S_V2 am: 6c752d8eca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686
Change-Id: Id87eb67dbf2e4c8bc7060e5a8a524d30629f0571
2022-01-13 02:35:54 +00:00
Ming-Shin Lu
6c752d8eca
Using IME context to inflate layout from S_V2
...
With CL[1],[2] to migrate InputMethodService as the subclass of the new
introduced class WindowProviderService in S_V2, IME context resources
can be managed by associating the window container of IME window when
its display/window configuration changed.
So we can get rid of createDisplayContext logic from S_V2 with gated
by SDK version and refining the method of get IME context with
documentation to make it clear.
[1]: Ie565e30ed5dd3f2cfe27355a6dded76dc3adc14b
[2]: I64a1614f32d097785915f6105b1813a929e0fe32
Bug: 213118079
Bug: 133825283
Test: manual with below steps
1) adb install -r EditTextVariations.apk
2) tapas LatinIME
3) make
4) adb install -r out/target/product/generic/system/app/LatinIME/\
LatinIME.apk
5) adb shell ime enable com.android.inputmethod.latin/.LatinIME
6) adb shell ime set com.android.inputmethod.latin/.LatinIME
5) Enable screen auto-rotation
7) Launch EditTextVariations from launcher's shortcut
8) Tap the first EditText field to show IME
9) Rotate the device to the landscape mode
10) Expect the IME should not be shrunk
Change-Id: If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d
2022-01-12 11:50:28 +08:00
Steve Elliott
a5ed00d252
add post_notification permission to manifest
...
so the package can send notifications on T+
Bug: 194833441
Change-Id: Iafb56ebd788f1dcd98320dc6c250ca8f585fcab3
2021-12-08 19:02:06 +00:00
Ming-Shin Lu
60f0c0d99c
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
am: 7f3bcefd9f
-s ours am: 68103a8646
-s ours
...
am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 6ae09365a5
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I100848fbd1e74afcaf32c7ae0dc3be241d09f892
2021-06-18 15:28:49 +00:00
Ming-Shin Lu
ca69382566
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
-s ours am: d7970ac3c6
-s ours am: 2db995ef00
-s ours
...
am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a3216
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I2adacb1a237f7226e87507ee2ceeb8a69f9732dc
2021-06-18 15:28:35 +00:00
Ming-Shin Lu
68103a8646
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
am: 7f3bcefd9f
-s ours
...
am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 6ae09365a5
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I52e4fa1371d8a8e6fcf7c92a03dc8861049ae14d
2021-06-18 15:24:50 +00:00
Ming-Shin Lu
2db995ef00
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
-s ours am: d7970ac3c6
-s ours
...
am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a3216
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I97cd4d4948c1a573eb50ee756e88152cc1bbb7ed
2021-06-18 15:18:00 +00:00
Ming-Shin Lu
7f3bcefd9f
Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I33a6fa7093b4633fc5bbd535b2c3d9d287022bc8
2021-06-18 15:08:19 +00:00
Ming-Shin Lu
d7970ac3c6
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365a5
-s ours
...
am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a3216
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672
Change-Id: I3d0ca553f117d3d0871930362f68b87df2105b1c
2021-06-18 15:07:45 +00:00
Ming-Shin Lu
6ae09365a5
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
Merged-In: I288a31baf04fa2e63d6b4a14ad81b401cb36ece5
2021-06-18 02:16:19 +00:00