Commit graph

1548 commits

Author SHA1 Message Date
Darcy Wong
5a69b745fd feat(android): Add system globe action to show system keyboards
Fixes #3102
2020-06-02 09:50:41 +07:00
Darcy Wong
12767a8a38 fix(android): Add wrapper for logging errors & exceptions 2020-06-01 15:58:22 +07:00
Darcy Wong
3938fdd3c8 chore(android): Cleanup 2020-05-30 10:28:55 +07:00
Darcy Wong
574804cbe6 fix(android): Only invalidate lexical model cache if no match 2020-05-29 16:34:40 +07:00
Darcy Wong
ac77444e70 fix(android/engine): Fix available lexical model list 2020-05-29 16:02:21 +07:00
Darcy Wong
e1d9350846 fix(android/engine): Clean up naming for QR code 2020-05-29 14:31:29 +07:00
Darcy Wong
7b5488308c chore(android/engine): Clarify comments for ApiTarget 2020-05-28 14:48:32 +07:00
Darcy Wong
876ba03636 fix(android/engine): Add helper method hasUpdateAvailable() 2020-05-28 13:05:22 +07:00
Darcy Wong
6150b69c29 fix(android): Handle keyboard update 2020-05-27 16:40:49 +07:00
Darcy Wong
63032063a7 fix(android): Use kmp link 2020-05-27 13:23:27 +07:00
Darcy Wong
47fb7597b7 fix(android): Start using packages api 2020-05-27 13:23:27 +07:00
Darcy Wong
c72b23a8ed fix(android): Additional cleanup
* Tidy up logic for determining keyboard state
* Update LanguageResource and Keyboard to use null for unspecified versions
2020-05-25 07:13:43 +07:00
Darcy Wong
1e2abb24e7 chore(android): clean up logic and typo 2020-05-25 06:31:27 +07:00
Darcy Wong
5a53d0986f fix(android): Address review comments 2020-05-24 20:52:40 +07:00
Darcy Wong
8fafdca713 fix(android): Remove LanguageListUtil 2020-05-24 14:39:24 +07:00
Darcy Wong
ffb6a97ccb fix(android/engine): Remove LanguageListUtil.getKeyboardsInfo()
With the KeyboardController() refactor, the keyboard cloud catalog information is no longer used for determining packaging/keyboard info.

This updates setKeyboard() calls to instead use KeyboardController()
2020-05-22 15:55:36 +07:00
Darcy Wong
a55a277f9b chore(android): rename vars for clarity 2020-05-22 13:35:35 +07:00
Darcy Wong
0ba7b18c63 chore(android): Merge remote-tracking branch 'origin/master' into fix/android/system-globe-action 2020-05-21 19:01:03 +07:00
Darcy Wong
a74e8a6bb2 fix(android): Fix system keyboard globe button override
Fixes #3101
Use a different state variable while the screen is locked so that `sysKbGlobeKeyAction` is preserved.
2020-05-19 16:30:20 +07:00
Darcy Wong
8a83334e64 fix(android): Remove KeyboardPickerActivity.getKeyboardIndex() 2020-05-19 14:37:51 +07:00
Darcy Wong
2941378ab4 chore(android): Add comments about keyboard index 2020-05-19 14:06:35 +07:00
Darcy Wong
aa2ad0c73a chore(android): Cleanup comment 2020-05-18 12:53:26 +07:00
Darcy Wong
d8c1f1f1c8 chore(android): Remove comment per review 2020-05-18 11:40:55 +07:00
Darcy Wong
e118721ba0 fix(android): Replace containsKeyboard
Per review comment, replace `KeyboardPickerActivity.containsKeyboard()` with `KeyboardController.keyboardExists()`
2020-05-18 11:11:15 +07:00
Darcy Wong
f504bf302c fix(android): start to address review comments 2020-05-18 10:45:12 +07:00
Darcy Wong
652136829d modify(android): Change assumptions on default keyboard
To support FV app, allow KeyboardController to remove any index.
KeyboardController also no longer initializes with a default of sil_euro_latin.
2020-05-08 21:56:19 +07:00
Darcy Wong
f097f24295 fix(android): Handle other keyboard apps that have different default 2020-05-08 17:34:39 +07:00
Darcy Wong
251dff3bba modify(android): Refactor KeyboardPickerActivity 2020-05-08 16:34:06 +07:00
Darcy Wong
b65c1d76eb chore(android): Add logging for review comments 2020-05-08 15:03:50 +07:00
Darcy Wong
4c913cf730 feat(android): Migrate installed keyboards list to keyboards_list.json 2020-05-06 13:43:12 +07:00
Darcy Wong
a1fa02dbb1 chore(android): Remove unused constructor 2020-05-06 12:01:55 +07:00
Darcy Wong
9bbdd3409e fix(android): Additional cleanup 2020-05-06 11:01:08 +07:00
Darcy Wong
f5d9418f35 fix(android): Refactor constructors per review comments 2020-05-06 09:35:40 +07:00
Darcy Wong
26a7b07e54 modify(android): Add methods to go between LanguageResource and JSON 2020-05-05 11:22:43 +07:00
Darcy Wong
ebfde0f70c
Merge pull request #3051 from keymanapp/fix/android/remove-more-custom
Fix/android/remove more custom
2020-05-01 15:17:14 +07:00
Darcy Wong
4e5eca40d4 chore(android): Update deprecated markings 2020-05-01 14:52:42 +07:00
Darcy Wong
0cf21f6879 fix(android): Mark intend to deprecate
Revert API constants in KMManager and mark them as intended to deprecate in Keyman 15.0
2020-05-01 14:38:18 +07:00
Darcy Wong
cd512d9c2b fix(android): Fix FileUtilsTest to be cross-platform
Fixes #3502 by using `File.separator` in the test
2020-05-01 12:12:08 +07:00
Darcy Wong
9caa6a89d5 fix(android): Remove more unused custom keyboard fields 2020-04-30 22:07:52 +07:00
Darcy Wong
9a70f27416 fix(android): Remove more "custom keyboard" handling 2020-04-30 15:19:26 +07:00
Marc Durdin
214bd4652e chore(windows): Merge branch 'master' into fix/windows/sentry-cleanup 2020-04-30 05:04:13 +10:00
Darcy Wong
490a82eaf2 modify(android): Start refactoring LanguageResource 2020-04-28 17:17:41 +07:00
Marc Durdin
b12baab1c5 fix(android): link VERSION_ENVIRONMENT 2020-04-28 15:56:56 +10:00
Marc Durdin
b5f32fbbaf fix(android): use environment and version-with-tag for sentry 2020-04-28 11:34:22 +10:00
Darcy Wong
833ad564e3 modify(android): Deprecate some LanguageResource calls
Per review comments
* Deprecate getPackage() for getPackageID()
* Deprecate getLanguage() for getLanguageID()
2020-04-27 12:03:01 +07:00
Darcy Wong
fb2402d1c1 modify(android): Pass Keyboard to KeyboardInfoActivity 2020-04-23 16:31:24 +07:00
Darcy Wong
12682c8b8c modify(android): Refactor Keyboard class to not use Map 2020-04-23 15:42:38 +07:00
Darcy Wong
45c09c23e6 modify(android): Convert LanguageListActivity to utility
* Remove LanguageListActivity and KeyboardListActivity
* Keep utility method `getKeyboardsInfo()`
2020-04-22 16:06:54 +07:00
Darcy Wong
51630d4193 Merge remote-tracking branch 'origin/master' into fix/android/layout 2020-04-21 14:06:41 +07:00
jahorton
c9b9c62a8c fix(android): fixes case where banner is intentionally disabled 2020-04-21 12:49:40 +07:00