aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix errorprone warnings that should be errors" am: 6d585ed76cTreehugger Robot2022-10-176-6/+7
|\ | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2256807 Change-Id: I7d8662bdc880e331cf2d912dae7cc18b70743975 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Merge "Fix errorprone warnings that should be errors"Treehugger Robot2022-10-176-6/+7
| |\
| | * Fix errorprone warnings that should be errorsCole Faust2022-10-176-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is part of a large scale change to fix errorprone errors that have been downgraded to warnings in the android source tree, so that they can be promoted to errors again. The full list of changes include the following, but not all will be present in any one individual commit: BadAnnotationImplementation BadShiftAmount BanJNDI BoxedPrimitiveEquality ComparableType ComplexBooleanConstant CollectionToArraySafeParameter ConditionalExpressionNumericPromotion DangerousLiteralNull DoubleBraceInitialization DurationFrom DurationTemporalUnit EmptyTopLevelDeclaration EqualsNull EqualsReference FormatString FromTemporalAccessor GetClassOnAnnotation GetClassOnClass HashtableContains IdentityBinaryExpression IdentityHashMapBoxing InstantTemporalUnit InvalidTimeZoneID InvalidZoneId IsInstanceIncompatibleType JUnitParameterMethodNotFound LockOnBoxedPrimitive MathRoundIntLong MislabeledAndroidString MisusedDayOfYear MissingSuperCall MisusedWeekYear ModifyingCollectionWithItself NoCanIgnoreReturnValueOnClasses NonRuntimeAnnotation NullableOnContainingClass NullTernary OverridesJavaxInjectableMethod ParcelableCreator PeriodFrom PreconditionsInvalidPlaceholder ProtoBuilderReturnValueIgnored ProtoFieldNullComparison RandomModInteger RectIntersectReturnValueIgnored ReturnValueIgnored SelfAssignment SelfComparison SelfEquals SizeGreaterThanOrEqualsZero StringBuilderInitWithChar TreeToString TryFailThrowable UnnecessaryCheckNotNull UnusedCollectionModifiedInPlace XorPower See https://errorprone.info/bugpatterns for more information on the checks. Bug: 253827323 Test: m RUN_ERROR_PRONE=true javac-check Change-Id: I454a105ae82484a2d19aff1808e8d9dd55ba64f4
* | Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b ↵Treehugger Robot2022-08-241-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | am: e546038cdf am: 51466cffd6 Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538 Change-Id: Ib3878ed212ae13dddd9761aefda2960cb7defbb4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * \ Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b ↵Treehugger Robot2022-08-241-1/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e546038cdf Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538 Change-Id: I609ca003a48f3eb2a323ed456fc54d5754bd694f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * \ Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180bTreehugger Robot2022-08-241-1/+3
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538 Change-Id: Ic25b4e765f6612409aa840c7e4dc392d99fb254a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * | Merge "Fix array-related errorprone warnings" am: 370d41de92Treehugger Robot2022-08-241-1/+3
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | | * Merge "Fix array-related errorprone warnings"Treehugger Robot2022-08-241-1/+3
| | | |/|
| | | | * Fix array-related errorprone warningsCole Faust2022-08-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f ↵Xin Li2022-08-170-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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>
| * | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f ↵Xin Li2022-08-160-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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>
| | * | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f ↵Xin Li2022-08-160-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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>
| | | * | Merge "DO NOT MERGE - Merge Android 13"Xin Li2022-08-167-59/+150
| | | |\ \ | | | | |/ | | | |/|
* | | | | [automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7 -s ours ↵Xin Li2022-08-170-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | [automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7 -s ours ↵Xin Li2022-08-160-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | [automerger skipped] DO NOT MERGE - Merge Android 13 am: 2012c03ae7 -s oursXin Li2022-08-160-0/+0
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * | DO NOT MERGE - Merge Android 13Xin Li2022-08-157-59/+150
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | Bug: 242648940 Merged-In: Ib4b72e0a277d8b2fb78837bed5d2e9cccd819a07 Change-Id: Id6eef7910c3955e9dd6c49749406520d86e73dad
* | | | | [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-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 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 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 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
* | | | 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