aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Merge "List baseline_filename on modules that are implititly using it" into mainCole Faust2023-12-211-0/+3
|\
| * List baseline_filename on modules that are implititly using it•••lintable modules currently pick up files named "lint-baseline.xml" to use as the lint baseline implicitly. This is confusing because you could end up using the baseline files in more modules than intended. Lint also has a feature where it requests you remove unnecessary findings from the baseline file, so something could be necessary for one module, but unnecessary for another that accidentally picked up the baseline. We're removing the implicit detection of the baseline file, which requires all modules using it to list the baseline file explicitly. Bug: 272769514 Test: Presubmits Change-Id: Ib640f0642fbb12b96309ce518a505376dda01cb4 Cole Faust2023-12-201-0/+3
|/
* Merge "Fix erroneous LXX theme text color mappings" into main am: 1ddd171ce2•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2723073 Change-Id: I64bacf809c0c2340b95fd5304bcd4f52a982303e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-12-071-2/+2
|\
| * Merge "Fix erroneous LXX theme text color mappings" into mainTreehugger Robot2023-12-071-2/+2
| |\
| | * Fix erroneous LXX theme text color mappings•••keyTextInactivatedColor and functionalTextColor were wrongly assigned, eventhough correct definitions already exist. Change-Id: I06694447ee22fb609267aa2256a36a2585ad6b3f Georg Veichtlbauer2023-08-231-2/+2
* | | Merge "dicttoolkit: pin cpp_std to gnu++17" into main am: 4f396fb453•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2833210 Change-Id: I9597e378e9ae4b734d373194b33373e63e2d6f85 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-11-171-0/+1
|\| |
| * | Merge "dicttoolkit: pin cpp_std to gnu++17" into mainTreehugger Robot2023-11-171-0/+1
| |\ \
| | * | dicttoolkit: pin cpp_std to gnu++17•••This project doesn't build with gnu++20 and prevents AOSP default to be upgraded to a newer standard. Once the build failure is fixed here, this change can be reverted. Bug: 311052584 Test: m checkbuild Change-Id: If2d19c1b6d970703a1dbf7685588a4a4be5a53c1 Tomasz Wasilczyk2023-11-151-0/+1
| |/ /
* | | [automerger skipped] Merge "Merge Android 14" into main am: 0bba80779a -s our...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: If572cc291186a8315e7aac2b775d099f3369d397 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
|\ \ \
| * \ \ [automerger skipped] Merge "Merge Android 14" into main am: 0bba80779a -s our...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: Iccb504ade5d581aada92523876c08f7ad86e3660 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| |\ \ \
| | * \ \ [automerger skipped] Merge "Merge Android 14" into main am: 0bba80779a -s our...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: I24b0acd682eed38795430c5b8dff7e435fd16548 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| | |\ \ \
| | | * | | [automerger skipped] Merge "Merge Android 14" into main am: 0bba80779a -s ours•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: I06b761b5d03ddb799a8775797f583f51214e2176 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| | | |\| |
| | | | * | Merge "Merge Android 14" into mainXin Li2023-10-064-39/+42
| | | | |\ \ | | | | | |/ | | | | |/|
* | | | | | [automerger skipped] Merge Android 14 am: 2f0ac31804 -s ours am: 5bbfa7871f -...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: I6c3ae708500181534b07a6090acdebf221d75736 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
|\| | | | |
| * | | | | [automerger skipped] Merge Android 14 am: 2f0ac31804 -s ours am: 5bbfa7871f -...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: Ibd91bf6cd0ac247f5bf0b326d06635ec9077e81b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| |\| | | |
| | * | | | [automerger skipped] Merge Android 14 am: 2f0ac31804 -s ours am: 5bbfa7871f -...•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: I093af81fa9587d85c3a6aad982d0ef11f9cf5eae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| | |\| | |
| | | * | | [automerger skipped] Merge Android 14 am: 2f0ac31804 -s ours•••am skip reason: Merged-In Ia66766322d6ae8a010b1cb55cc22993fbc6d012c with SHA-1 03eef94a8d is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2776974 Change-Id: I251c7e3eaf2ecb4cdd9693ff21576e54942ab660 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-10-060-0/+0
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | | * | Merge Android 14•••Bug: 298295554 Merged-In: Ia66766322d6ae8a010b1cb55cc22993fbc6d012c Change-Id: Ic4fcb094b37b72031f9bbd615e2044164aa460a6 Xin Li2023-10-054-39/+42
| | | | |\ \ | | | | |/ / | | | |/| / | | | | |/
* | | | | [automerger skipped] Merge Android U (ab/10368041) am: 176fd72c0f -s ours am:...•••am skip reason: Merged-In I7efbfd50628298c436cb86d5d84af6cbfa7918da with SHA-1 64ce9427f8 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/24182906 Change-Id: Ia3ca741cbe0adc434a2af8c6469e41f3217c2f4f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-08-280-0/+0
|\| | | |
| * | | | [automerger skipped] Merge Android U (ab/10368041) am: 176fd72c0f -s ours am:...•••am skip reason: Merged-In I7efbfd50628298c436cb86d5d84af6cbfa7918da with SHA-1 64ce9427f8 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/24182906 Change-Id: Ic2b6fd50ca4a2643968e15c5c91ee0de2a3f250e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-08-280-0/+0
|/| | | | | |/ / /
| * | | [automerger skipped] Merge Android U (ab/10368041) am: 176fd72c0f -s ours•••am skip reason: Merged-In I7efbfd50628298c436cb86d5d84af6cbfa7918da with SHA-1 64ce9427f8 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/24182906 Change-Id: If8dffda8ab2042b01bcf5dea9d61bafe864b494b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2023-08-280-0/+0
| |\| |
| | * | Merge Android U (ab/10368041)•••Bug: 291102124 Merged-In: I7efbfd50628298c436cb86d5d84af6cbfa7918da Change-Id: Ic95053849a83d3c13510c05d5fd03cc6863f3b65 Xin Li2023-08-144-39/+42
| | |\ \ | | |/ / | |/| / | | |/
* | | Merge "Remove unused variables" am: fe0c000f40 am: 752ef94cfc am: d847619a2b ...•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925 Change-Id: I68c483d1cc5ddea43cf9c9898fb152de14847427 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-03-206-11/+3
|\| |
| * | Merge "Remove unused variables" am: fe0c000f40 am: 752ef94cfc am: d847619a2b•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925 Change-Id: I7efbfd50628298c436cb86d5d84af6cbfa7918da Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-03-206-11/+3
| |\|
| | * Merge "Remove unused variables" am: fe0c000f40 am: 752ef94cfc•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925 Change-Id: I2bae39a9a7e659300a47203f1b4c99a94c386513 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-03-206-11/+3
| | |\
| | | * Merge "Remove unused variables" am: fe0c000f40•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925 Change-Id: I996fc354112500e41977b93521e9050bdccce81b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2023-03-206-11/+3
| | |/|
| | | * Merge "Remove unused variables"Treehugger Robot2023-03-206-11/+3
| | |/|
| | | * Remove unused variables•••Since some variables with module LatinIME are defined but not used, when compiled with build combination "sdk_pc_x86_64-userdebug" and build command "mmm packages/inputmethods/LatinIME", the following code lines will be reported that "variable 'XXX' set but not used". (should be similar for all the other build combinations) Repeated 10 times for each: terminal_position_lookup_table.cpp:74:9 removedEntryCount terminal_position_lookup_table.cpp:85:9 removedEntryCount proximity_info_state_utils.cpp:493:9 tempTime trie_map.cpp:56:9 unusedRegionSize suggestion_results.cpp:100:9 index Repeated 80+ times: proximity_info_utils.h:75:25 proximityChar With this patch we are removing some of the unused variables and putting the C++ 17 attribute [[maybe_unused]] to the others which are used for logging. Then all the related build warnings have been eliminated. Test: mmm packages/inputmethods/LatinIME, presubmit check. Change-Id: Ia66766322d6ae8a010b1cb55cc22993fbc6d012c Signed-off-by: Jing Mike <jingyangliu@eswincomputing.com> Jing Mike2023-03-196-11/+3
| | |/
* | | Merge "Add required flag to receivers in LatinIME" into udc-dev am: 7b0c5a98c1•••Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/21941666 Change-Id: I0feec251e3d9896f260527ec2c57835b7571dc18 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Michael Groover2023-03-141-4/+19
|\| |
| * | Merge "Add required flag to receivers in LatinIME" into udc-devMichael Groover2023-03-141-4/+19
| |\ \
| | * | Add required flag to receivers in LatinIME•••Android T allows apps to declare a runtime receiver as not exported by invoking registerReceiver with a new RECEIVER_NOT_EXPORTED flag; receivers registered with this flag will only receive broadcasts from the platform and the app itself. However to ensure developers can properly protect their receivers, all apps targeting U and registering a receiver for non-system broadcasts must specify either the exported or not exported flag when invoking registerReceiver; if one of these flags is not provided, the platform will throw a SecurityException. This commit updates the dictionary receivers with the RECEIVER_NOT_EXPORTED flag since these are only sent from the local app. The HIDE_SOFT_INPUT receiver is flagged with the RECEIVER_EXPORTED flag since it can be sent by any app with the corresponding permission. Bug: 234659204 Test: Build Change-Id: I2b9a1360e0eb1c1965c07cc71dca9f11eb153517 Michael Groover2023-03-091-4/+19
* | | | Baseline NewApi issues am: f5c1b4cc37•••Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/21913526 Change-Id: Ibb51acd8d25a1a6b27be4798f19336af60f11744 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Cole Faust2023-03-101-32/+12
|\| | | | |/ / |/| |
| * | Baseline NewApi issues•••NewApi was recently updated to support linting methods in the system, module_lib, and system_server sdks, and was demoted to a warning due to the new issues it finds. Baseline all the new issues that NewApi can be made an error again. These cls were generated automatically by a script that copied the NewApi issues from the reference baselines. Bug: 268261262 Test: m lint-check Change-Id: I99bb901018da30f39cf799ac6c939863266cee34 Cole Faust2023-03-091-32/+12
|/ /
* | [automerge] Update preparers to align across everything 2p: 3ae2304d4f•••Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/20710172 Bug: 261855411 Change-Id: Ieaf01b3acea9cad11e2bc6d3d61a6b5811855c52 Julien Desprez2022-12-121-1/+1
|\ \
| * | Update preparers to align across everything•••Carry the exact same options. Test: presubmit Bug: 261855411 Change-Id: Ic48ffa4fec4ebf2027525476bf346abce3f0a1b0 Julien Desprez2022-12-121-1/+1
* | | Merge "Fix errorprone warnings that should be errors" am: 6d585ed76c am: 78a4...•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2256807 Change-Id: I0b54d410fdabe3424e0eff31153048e474e93923 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2022-10-176-6/+7
|\ \ \ | | |/ | |/|
| * | Merge "Fix errorprone warnings that should be errors" am: 6d585ed76c am: 78a4...•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2256807 Change-Id: Ie8d7a908adb83e2556d7b2d27beecc0e29978173 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2022-10-176-6/+7
| |\ \
| | * | Merge "Fix errorprone warnings that should be errors" am: 6d585ed76c•••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> Treehugger Robot2022-10-176-6/+7
| |/| |
| | * | Merge "Fix errorprone warnings that should be errors"Treehugger Robot2022-10-176-6/+7
| | |\ \
| | | * | Fix errorprone warnings that should be errors•••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 Cole Faust2022-10-176-6/+7
| | |/ /
* | | | Declaring package visibility needs for LatinIME•••Bug: 179783492 Bug: 179783499 Bug: 216823971 Test: atest LatinIMETests Change-Id: I309ffefe261049a5d3abce8e16829cd66f9123dc Rhed Jao2022-09-211-1/+9
* | | | Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b a...•••Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538 Change-Id: Idd10a3df6c0a34fe3d14d493a8af5b64338f298f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Treehugger Robot2022-08-241-1/+3
|\| | |
| * | | Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b a...•••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> Treehugger Robot2022-08-241-1/+3
| |\ \ \
| | * \ \ Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b a...•••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> Treehugger Robot2022-08-241-1/+3
| | |\ \ \
| | | * \ \ Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b•••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> Treehugger Robot2022-08-241-1/+3
| | | |\ \ \
| | | | * | | 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> Treehugger Robot2022-08-241-1/+3
| | | | |\| |
| | | | | * | Merge "Fix array-related errorprone warnings"Treehugger Robot2022-08-241-1/+3
| | | | |/| |
| | | | | * | 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 Cole Faust2022-08-151-1/+3
* | | | | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f -...•••am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186832 Change-Id: I4d5fbc004bbefa42848bceadf659d0a25a57afbd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Xin Li2022-08-170-0/+0
|\| | | | | |
| * | | | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 7005e0c12f -...•••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> Xin Li2022-08-170-0/+0
| |\| | | | |