| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
See go/jetpack-test-android-migration
Test: make checkbuild
Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow up CL to previous CLs that converted unit tests to
use Android Testing Support Library but forgot to remove unused import
lines.
Bug: 110805255
Test: verified as follows. No new test failures.
tapas adb LatinIME LatinIMETests arm64 userdebug && \
DISABLE_PROGUARD=true make -j LatinIME && \
adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
atest LatinIMETests:com.android.inputmethod.latin
Change-Id: I8762b0dfc209bdf68867f725b03a22286026faae
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL converts tests under com.android.inputmethod.latin.utils to
Android Testing Support Library.
Bug: 110805255
Test: verified as follows. No new test failures.
tapas adb LatinIME LatinIMETests arm64 userdebug && \
DISABLE_PROGUARD=true make -j LatinIME && \
adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
atest LatinIMETests:com.android.inputmethod.latin.utils
Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This build has been compiled against API 23
This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps
Version: 4.1.2300x.build_id
1. Replaces the personalization is on information with the suggest
contacts.
2. Enables "Use Contacts" only if the app has permission to read
contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.
Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
|
|
|
|
|
|
| |
Bug 20043003.
Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
|
|
|
|
|
|
| |
Bug 19987461.
Change-Id: Ia2714f555146f8f31a6d8c61f555d2b6fecdab7d
|
|
|
|
|
|
|
|
|
|
| |
Also move the class to the parent package, since it's no longer tied to the
spell checking service.
Bug 19966848.
Bug 20036810.
Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
|
|
|
|
|
|
|
| |
- Also deleted a couple of dead methods.
Bug:19929051
Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d
|
|
|
|
|
| |
Bug: 19087415.
Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
|
|
|
|
|
|
| |
Bug 19710676.
Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
|
|
|
|
|
|
| |
This fixes unit tests and brings us closer to a green build.
Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
|
|
|
|
| |
Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
|
|
|
|
|
|
| |
Bug 19625976.
Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
|
|
|
|
|
|
|
|
| |
There should be 1 executor each for static and dynamic language models.
This prevents too many dynamic LM updates from running in parallel,
competing for resources.
Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
|
|
|
|
|
|
| |
Bug 19296201.
Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
|
|
|
|
|
|
| |
This reverts commit f8705dd2bdb9aeb61860e6a0125102afc63a351d.
Change-Id: I7ddc1eced8109ff0bb50eb8a217db0d276848a1e
|
|
|
|
| |
Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51
|
|
|
|
| |
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
|
|
|
|
|
|
|
| |
Once the translation strings are updated, the uni test starts
failing. Then this CL should be reverted.
Change-Id: I884663feaa53998a98dd0e488ae8e3e6d0ad4ffd
|
|
|
|
| |
Change-Id: I7d35492c439c9419915251387b0c12e205740586
|
|
|
|
| |
Change-Id: I80399b311ff5ed35f246e7e3d06d7386f03a0684
|
|
|
|
| |
Change-Id: I0d18562a0b036a3e76a6df989a143bb05f0ed833
|
|
|
|
|
|
|
| |
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(This is a cherrypick of http://ag/576739)
Also, modify the IllegalArgumentException to capture the
values passed for start, end, and array.length to make
debugging easier in the unlikely event that it is thrown.
Add corresponding tests for the exceptions.
Tested:
tapas LatinImeGoogle LatinImeGoogleTests userdebug
make -j30 && \
adb install -r \
out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \
adb install -r \
out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \
adb shell am instrument -w -e class \
com.android.inputmethod.latin.utils.CollectionUtilsTests \
com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a
|
|
|
|
|
| |
Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
|
|
|
|
| |
Change-Id: I873ab97e2c4b30caa9227d26d7880d5ed6d134b0
|
|
|
|
|
|
|
|
| |
This CL also adds unit tests for Hinglish and Serbian Latin.
Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
|
|
|
|
| |
Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
|
|
|
|
|
|
|
| |
Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
|
|
|
|
|
|
|
| |
This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 13756409
[Category diff]
+1 27
-1 0
+2 0
-2 0
+3 0
-3 1
+4 11
-4 0
+5 51
-5 0
+6 0
-6 38
+7 0
-7 50
[Weighted category diff]
+1 28
-1 0
+2 0
-2 0
+3 0
-3 1
+4 11
-4 0
+5 51
-5 0
+6 0
-6 39
+7 0
-7 50
show diff for ./en_user_log_phones_2011_08.csv
+1 4
+4 5
+5 7
-6 9
-7 7
The increase of false positives comes from the spaceless
typing test cases that are synthetic data.
Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327
|
|
|
|
|
|
|
|
| |
Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.
Bug: 17743363
Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Diff:
+++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java
@@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) {
// TODO: adujst this for multilingual input
- return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString());
+ return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString());
}
private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) {
Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5.
Bug: 11230254
Reverting due to unit test breakage.
Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
|
|
|
|
|
| |
Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
|
|
|
|
|
| |
Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
|
|
|
|
|
| |
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|
|
|
|
|
|
|
|
|
|
| |
On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.
Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
|
|\
| |
| |
| |
| |
| |
| | |
show important notice
* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
Fix when to show important notice
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL introduces a timeout duration to show an important notice
message. When the timeout has passed, the important notice message
will be suppressed without user intervention.
This CL also adds unit tests and fixes a bug in
getNextImportantNoticeTitle().
Bug: 17181982
Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
|
| |
| |
| |
| |
| | |
Bug: 17537869
Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb
|
| |
| |
| |
| |
| |
| | |
Bug: 16547557
Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
|
| |
| |
| |
| |
| | |
Bug: 17398284
Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
|
| |
| |
| |
| |
| |
| | |
Also introduce some unit tests that would have caught the bug.
Bug: 17398284
Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
|
| |
| |
| |
| | |
Change-Id: I6fc2fd4f04069485acc432ff957421b85083a344
|
| |
| |
| |
| | |
Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a.
This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.
Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
|
| |
| |
| |
| |
| |
| | |
This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489.
Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
|