aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Make DownloadOverMeteredDialog not exportedWilson Wu2022-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DownloadOverMeteredDialog is exported which may allow a app to prompt this dialog to ask the user to download dictionary. Since the app can control the download dictionary size and may show an incorrect size for user to make security concern. Make the activity not exported for apps to launch. Bug: 236688064 Test: Manual test as follow steps: 1. lunch aosp_bramble-userdebug and flash 2. Verify the AOSP keyboard work properly 3. Launch the PoC test app 4. Verify the DownloadOverMeteredDialog cannot be launched Change-Id: I9be92ba2813e7aaad0ef10555f585c5c8a25361f
* | | | | | | [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: ↵Xin Li2022-06-300-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f20a65101 -s ours am: 612860d449 -s ours am: 3b9989cf61 -s ours am: ee92039436 -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: I7c5005a08310756d2879e65a8da6437a1c1bc961 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * | | | | | [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: ↵Xin Li2022-06-300-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: ↵Xin Li2022-06-290-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * | | | [automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: ↵Xin Li2022-06-290-0/+0
| | | |\ \ \ \ | | | | | |/ / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | | * | | Merge tm-dev-plus-aosp-without-vendor@8763363Xin Li2022-06-277-59/+150
| | | | |\ \ \ | | | | |/ / / | | | |/| / / | | | | |/ / | | | | | | | | | | | | Bug: 236760014 Merged-In: Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 Change-Id: I9d0e133b64c2d6afb795eb049c58bc2ff5ab79b5
* | | | | | EditTextVariations: create a IME focusable overlay for test am: f134ea3848 ↵Ming-Shin Lu2022-04-210-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1fbc8de4b7 am: 7e26debb41 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/17759925 Change-Id: I523fa0961d42bba23610a814602cf2584f9367d0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * | | | | EditTextVariations: create a IME focusable overlay for test am: f134ea3848 ↵Ming-Shin Lu2022-04-213-1/+64
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | EditTextVariations: create a IME focusable overlay for test am: f134ea3848Ming-Shin Lu2022-04-213-1/+64
| |/| | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | EditTextVariations: create a IME focusable overlay for test am: f134ea3848 ↵Ming-Shin Lu2022-04-213-1/+64
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6025b9a827 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/17759925 Change-Id: I61568327494317b87ea2bfca86ffd2ff7d1c1c63 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * | | | EditTextVariations: create a IME focusable overlay for test am: f134ea3848Ming-Shin Lu2022-04-213-1/+64
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/17759925 Change-Id: I20f87064cd0f846bff7214601233a4d2d6bf8f32 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | | EditTextVariations: create a IME focusable overlay for testMing-Shin Lu2022-04-213-1/+64
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s ours am: ↵Xin Li2022-03-090-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c932faf4df -s ours am: a9786e84d9 -s ours am: be5ec69242 -s ours am: ab9598715c -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: I6f95279c9ad89db1285d6239886fe262be5dd771
| * | | [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s ours am: ↵Xin Li2022-03-090-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c932faf4df -s ours am: a9786e84d9 -s ours am: be5ec69242 -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: I41c41f0b0a9f8718f374d3f02f91c1c1e54a2fea
* | | | [automerger skipped] Merge Android 12L am: 810578896e -s ours am: d4cc9ab2e5 ↵Xin Li2022-03-090-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 39f406f8a0 -s ours am: eef2791684 -s ours am: 68637223c6 -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: I5a5bb3118ff41db0f68ef180cadd56bb5db15274
| * | | [automerger skipped] Merge Android 12L am: 810578896e -s ours am: d4cc9ab2e5 ↵Xin Li2022-03-090-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 39f406f8a0 -s ours am: eef2791684 -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: Ib2527528a6d6ef49723cbf438a889a5eab6cd880
* | \ \ \ [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s ours am: ↵Xin Li2022-03-090-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c932faf4df -s ours am: a9786e84d9 -s ours am: be5ec69242 -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: I2dcd398279841c59ff24e492cd3e47777059f6ec
| * | | | [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s ours am: ↵Xin Li2022-03-090-0/+0
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | 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
| | * | [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s ours am: ↵Xin Li2022-03-080-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * \ [automerger skipped] Merge "Merge Android 12L" am: 85ef644a8a -s oursXin Li2022-03-080-0/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | * \ Merge "Merge Android 12L"Xin Li2022-03-081-19/+37
| | | | |\ \
* | | | | | | [automerger skipped] Merge Android 12L am: 810578896e -s ours am: d4cc9ab2e5 ↵Xin Li2022-03-090-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours am: 39f406f8a0 -s ours am: eef2791684 -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: I2f7f75766af3bcc56e43ac13fe0195a9c43f52ed
| * | | | | | [automerger skipped] Merge Android 12L am: 810578896e -s ours am: d4cc9ab2e5 ↵Xin Li2022-03-090-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
| | * | | | | [automerger skipped] Merge Android 12L am: 810578896e -s ours am: d4cc9ab2e5 ↵Xin Li2022-03-080-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
| | | * | | | [automerger skipped] Merge Android 12L am: 810578896e -s oursXin Li2022-03-080-0/+0
| | | |\ \ \ \ | | | | | |/ / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | * | | Merge Android 12LXin Li2022-03-081-19/+37
| | | | |\ \ \ | | | | |/ / / | | | |/| / / | | | | |/ / | | | | | | | | | | | | Bug: 222710654 Merged-In: Iea002572895dfdb74f72b5d6fe7a1efbd4139cac Change-Id: I4460e29cf09d440add5649faea52954c241bc524
* | | | | | [automerge] Remove unused method for dictionarypack 2p: 0d93961d85 2p: ↵Presubmit Automerger Backend2022-02-231-54/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4d28fc879 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16983256 Bug: 209479751 Change-Id: Ib4f2e1a97e570af79f4253b99c5f6052645933f4
| * | | | | [automerge] Remove unused method for dictionarypack 2p: 0d93961d85Presubmit Automerger Backend2022-02-231-54/+0
|/| | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16983256 Bug: 209479751 Change-Id: I2ddb662ca8bb7ab00b6db1e204fc902c50bbfe5b
| * / / / Remove unused method for dictionarypackWilson Wu2022-02-231-54/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the showDictionaryAvailableNotification method since there is no module use it. Bug: 209479751 Test: presubmit Change-Id: I4c88b4a2d0cb36761d9102ce35260f93303625d9
* | | | [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: ↵Xin Li2022-02-140-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: ↵Xin Li2022-02-140-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Merge sc-v2-dev-plus-aosp-without-vendor@8084891Xin Li2022-02-111-19/+37
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 214455710 Merged-In: If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d Change-Id: Iea002572895dfdb74f72b5d6fe7a1efbd4139cac
* | | | | Merge "Update OWNERS file" am: 34f49426b8 am: 7b3ccaf646 am: e1dd6643a2Yohei Yukawa2022-02-111-6/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927 Change-Id: Ibadb6b010bc553edbf207b9a7bb100fe45776601
| * | | | Merge "Update OWNERS file" am: 34f49426b8 am: 7b3ccaf646Yohei Yukawa2022-02-111-6/+2
| |\| | | | | |/ / | |/| | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927 Change-Id: If7f80583b7d04c24eec411e4bba36f96de63a0e5
| | * | Merge "Update OWNERS file" am: 34f49426b8Yohei Yukawa2022-02-111-6/+2
| | |\| | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1978927 Change-Id: I2e4812d5aadd665503e3a4fe860016d8e86a02f7
| | | * Merge "Update OWNERS file"Yohei Yukawa2022-02-111-6/+2
| | |/|
| | | * Update OWNERS fileYohei Yukawa2022-02-101-6/+2
| | |/ | | | | | | | | | | | | | | | Fix: 218752122 Test: presubmit Change-Id: Ia4948d81f3f13518428375d635154c58c7fe9628
* | | Merge "Add Notification Permission for T"TreeHugger Robot2022-01-272-1/+41
|\ \ \
| * | | Add Notification Permission for TWilson Wu2022-01-262-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "add post_notification permission to manifest so the package can send ↵TreeHugger Robot2022-01-251-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | notifications on T+"
| * | | | add post_notification permission to manifestSteve Elliott2021-12-081-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | so the package can send notifications on T+ Bug: 194833441 Change-Id: Iafb56ebd788f1dcd98320dc6c250ca8f585fcab3
* | | | Remove flag to ignore user settings from haptic feedbackLais Andrade2022-01-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The keyboard key-press haptic feedback should follow the user settings for "Touch feedback". Bug: 185351540 Test: manual Change-Id: I718d3bf15b1ef841a869a898038d0eca1eca78f0
* | | | Using IME context to inflate layout from S_V2 am: 6c752d8eca am: 36c1220335Ming-Shin Lu2022-01-131-19/+37
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686 Change-Id: I16a579dd8e759bc32bcd453ba218be5cdc1dcd7c
| * | Using IME context to inflate layout from S_V2 am: 6c752d8ecaMing-Shin Lu2022-01-131-19/+37
| |\ \ | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686 Change-Id: Id87eb67dbf2e4c8bc7060e5a8a524d30629f0571
| | * | Using IME context to inflate layout from S_V2Ming-Shin Lu2022-01-121-19/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [automerger skipped] Fix Keyboard Theme update when device orientation ↵Ming-Shin Lu2021-06-180-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | [automerger skipped] Fix Keyboard Theme update when device orientation ↵Ming-Shin Lu2021-06-180-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Fix Keyboard Theme update when device orientation changed am: 6ae09365a5Ming-Shin Lu2021-06-181-1/+2
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I33a6fa7093b4633fc5bbd535b2c3d9d287022bc8
* | | | | [automerger skipped] Fix Keyboard Theme update when device orientation ↵Ming-Shin Lu2021-06-180-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | [automerger skipped] Fix Keyboard Theme update when device orientation ↵Ming-Shin Lu2021-06-180-0/+0
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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