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
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 360052f3044eee612af1cbfcd1f2e202096e3541)
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