Commit graph

1531 commits

Author SHA1 Message Date
Darcy Wong
cb3a408879 chore(android/engine): More cleanup
Remove CloudLexicalModelMetaDataDownloadCallback.updateIsRunning since it's not ready
2020-11-03 11:26:40 +07:00
Darcy Wong
1a02d24d8f chore(android/engine): Remove commented code 2020-11-03 11:00:15 +07:00
Darcy Wong
5271cc115f feat(android/engine): Add hooks for progressbar 2020-11-03 10:52:02 +07:00
Darcy Wong
9931b15a31 feat(android/engine): Add query for available dictionary 2020-11-02 16:19:03 +07:00
Darcy Wong
396df9673d chore(android/engine): Remove callbacks for lexical model catalog 2020-11-02 14:48:22 +07:00
Darcy Wong
98aee8895c chore(android/engine): Remove use of lexical-model catalog 2020-10-30 10:25:19 +07:00
Darcy Wong
d733c54b41
Merge pull request #3731 from keymanapp/fix/android/reinstall-lexical-model
fix(android/engine): Fix issues when re-installing lexical-models
2020-10-29 06:17:18 +07:00
Darcy Wong
69e9e979ef fix(android): Revert version string 2020-10-27 16:09:15 +07:00
Darcy Wong
9460e850ac
Merge pull request #3740 from keymanapp/fix/android/improve-startup-time
fix(android/engine): Only get keyboard version for cloud/
2020-10-27 11:10:44 +07:00
Darcy Wong
004bfd4c7e chore(android): Merge remote-tracking branch 'origin/master' into fix/android/reinstall-lexical-model 2020-10-26 11:14:01 +07:00
Darcy Wong
2c544bce25
Merge pull request #3738 from keymanapp/chore/android/update-dependencies
chore(android): Update dependencies
2020-10-24 15:04:35 +07:00
Darcy Wong
18ab0d09a9 fix(android/engine): Apply same version check on prepareKeyboardSwitch 2020-10-22 17:50:48 +07:00
Darcy Wong
e3af12daf7 fix(android/engine): Only get keyboard version for cloud/ 2020-10-22 13:58:28 +07:00
Darcy Wong
ee82ea8732 fix(android/engine): Check if cache file exists before deleting 2020-10-22 11:14:01 +07:00
Darcy Wong
9ef2cec502 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
Darcy Wong
eef627798c fix(android/engine): Compare current version in hasUpdateAvailable() 2020-10-21 08:25:36 +07:00
Darcy Wong
4b3a568787 fix(android/engine): Log executeHardwareKeystroke error once per session 2020-10-20 09:53:36 +07:00
Darcy Wong
c010ec6465 fix(android/engine): Add more checks for Keyboard 2020-10-19 15:19:47 +07:00
Darcy Wong
121d4a351b chore(android): Merge remote-tracking branch 'origin/master' into fix/android/kmmanager-robustness 2020-10-02 13:52:37 +07:00
Darcy Wong
985307e878
Merge pull request #3624 from keymanapp/fix/android/undefined-package-id
fix(android/engine): Fix undetermined lexical model package ID
2020-09-29 19:51:22 +07:00
Darcy Wong
4b311055be fix(android/engine): Check keyboard entry points 2020-09-28 15:02:26 +07:00
Darcy Wong
c4178b1d26 fix(android/app): Only copy asset .kmp file if it doesn't exist
Fixes #3521

Update `KMManager.copyAssets` so asset kmp files only get copied if they don't exist. This avoids unzipping the packages on every startup.
2020-09-28 14:30:46 +07:00
Darcy Wong
2a30b9070d fix(android/engine): Fix undetermined lexical model package ID 2020-09-25 17:02:31 +07:00
Darcy Wong
a2521ba6d9 fix(android/engine): Use local help for default keyboard 2020-09-24 14:04:01 +07:00
Darcy Wong
65ccdb4042 fix(android/engine): Move preference strings to KMManager 2020-09-24 14:03:33 +07:00
Darcy Wong
f63757eb6b fix(android/app): Adjust namespaces 2020-09-24 13:48:53 +07:00
Darcy Wong
464318915a chore(android/app): Move some classes to KMAPro 2020-09-24 12:51:23 +07:00
Darcy Wong
be4f63014a fix(android/engine): Apply review comments 2020-09-24 09:00:23 +07:00
Darcy Wong
53410cba18 chore(android): Merge remote-tracking branch 'origin/master' into fix/android/mapcompat-crash 2020-09-23 15:16:16 +07:00
Darcy Wong
0f17062ad2 feat(android/app): Use api for downloading associated dictionary 2020-09-23 10:31:44 +07:00
Darcy Wong
ce8c502191 chore(android/engine): Remove unused cloud methods 2020-09-22 15:58:08 +07:00
Darcy Wong
35fef54865 fix(android/app): Download associated dictionary after keyboard install
Currently, the check for downloading an associated dictionary only happens if a keyboard search from keyman.com includes a language tag. (e.g. `l🆔str-latn`)

This moves the check to occur after a keyboard package is installed (and the specific languages chosen via the stepper).
2020-09-22 15:58:08 +07:00
Darcy Wong
4efa58264d chore(android): Merge branch 'master' into fix/android/mapcompat-crash 2020-09-21 11:46:35 +07:00
Darcy Wong
5954568e92 fix(android/engine): Set notifications to auto cancel 2020-09-01 14:32:30 +07:00
Darcy Wong
1b1d343e68 fix(android/engine): Remove notification after installing kbd package 2020-09-01 08:43:11 +07:00
Darcy Wong
6c5064b632 fix(android/engine): Fix package filename when downloading from cloud 2020-08-31 11:08:30 +07:00
Darcy Wong
f604eaa06a fix(android/app): Fix overflow menu for hdpi devices 2020-08-28 12:30:12 +07:00
Darcy Wong
970c2ca5f3
Merge pull request #3498 from keymanapp/feat/android/stepper
feat(android): Use Stepper for navigating package installation steps
2020-08-27 08:36:32 +07:00
Darcy Wong
add7edd25c chore(android): Cleanup more strings
Per review comments:
* Include keyboard name in toast notification on keyboard install
* Remove label_complete and use "OK" button when complete
2020-08-26 15:06:10 +07:00
Darcy Wong
47fab2d3a2 fix(android/engine): Check asset package version before installing
Fixes #3500

When KMManager is copying asset kmp files, check if the asset package is a downgrade before installing it.
2020-08-26 14:13:02 +07:00
Darcy Wong
6d98103f75 fix(android): Update titlebar styling
Per review comments
* Use ellipsis to truncate long titles
* Use Keyman styling during installation, but keep green accent line for Settings
2020-08-25 13:26:10 +07:00
Darcy Wong
80fb43afda fix(android): Fix crashes involving Keyboard Picker
This fixes the null-pointer-exceptions reported in Crashlytics
* [MapCompat](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/d1bbc6248a6cf73a4a2607646670a73b?time=last-seven-days&sessionId=5F43249600B0000169B855CBEB66027A_DNE_0_v2)
* [KeyboardPickerActivity](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/f0e89e2ad194b4d55394461f07dbed92?time=last-seven-days&sessionId=5F42B17B01DB00011DEB0D57B0E2AF4E_DNE_0_v2)
2020-08-24 13:34:55 +07:00
Darcy Wong
617073cc71 feat(android): Start adjusting steps and buttons 2020-08-21 21:52:17 +07:00
Darcy Wong
92b9d1734b feat(android): Incorporate Stepper for installing packages 2020-08-21 15:10:52 +07:00
Darcy Wong
79812e2e74
Merge pull request #3481 from keymanapp/feat/android/package-processor-keyboard-info
feat(android/app): Add language picker for keyboard package installation
2020-08-21 10:01:17 +07:00
Darcy Wong
981a72ac6f fix(android): Fix util to getting the tier on CI builds
The regex in KMManager.getTier() is incorrect for CI versions because of an extra `-`.

A local development version string `14.0.248-alpha-local` would correctly return Tier.ALPHA, but a CI build `14.0.248-alpha` would return Tier.STABLE
2020-08-19 09:02:37 +07:00
Darcy Wong
64b723a565 fix(android): Use bottom nav bar 2020-08-18 10:17:02 +07:00
Darcy Wong
bb45346c5d fix(android): Adjust titlebar UI 2020-08-17 09:46:49 +07:00
Darcy Wong
cd1daf4c7e feat(android): Use language lists for processing KMP 2020-08-17 07:51:00 +07:00
Darcy Wong
d34e568607 fix(android): UI changes for SelectLanguageActivity
* Sort by language name
* Show language picker when a keyboard package has 1 keyboard with multiple languages
* Don't display the BCP 47 language ID or right arrows
2020-08-17 07:50:45 +07:00