4167 Commits
Author SHA1 Message Date
J-Jamet d7da1ce333 Upgrade to 3.0.2 and update CHANGELOG 2021-09-24 12:55:08 +02:00
Andrew Gunnerson c0ac01a34a Add workaround to support Samsung DeX
This commit changes the Magikeyboard service behavior so that KeePassDX
is able to run in Samsung DeX mode. Currently, the app cannot run in
DeX mode because apps which have services using `BIND_INPUT_METHOD` are
blocked.

A new broadcast receiver has been added to listen for DeX's enter/leave
events [1] and disable/enable the `Magikeyboard` service appropriately.
The enabled state of a service lives in the Android framework's
`PackageManager` and survives app crashes and device reboots (though it
does get reset when app data is cleared).

Additionally, an extra check is added to `FileDatabaseSelectActivity` to
ensure the service's enabled state is correct. This is necessary if the
app crashes or is force quit within DeX mode and then the user exits DeX
mode. Otherwise, the service would stay disabled until the user entered
and exited DeX again.

With the new behavior, KeePassDX will generally just work with DeX,
though there's one caveat: after the initial installation, the user must
open the app once outside of DeX. Otherwise, Android will not trigger
the broadcast receiver. This could be fixed by making the service
intially disabled in the manifest with `android:enabled="false"`, but
Android's Settings app in SDK 15 through 25 does not correctly refresh
the keyboard list when changing the service from disabled to enabled.
I opted *not* to introduce different behavior based on the API version.

[1] https://developer.samsung.com/sdp/blog/en-us/2017/07/27/samsung-dex-how-to-detect-the-samsung-dex-mode

Fixes: #245
Signed-off-by: Andrew Gunnerson <[email protected]>
2021-09-18 23:30:37 -04:00
J-Jamet e9fc9cbc2a Capture cast exception 2021-09-15 12:21:44 +02:00
J-Jamet b809180a1b Small changes 2021-09-15 11:25:15 +02:00
J-Jamet ecc75df3a1 Fix search actions #1091 #1092 2021-09-15 11:16:32 +02:00
J-Jamet faf27143aa Fix timeout reset #1107 2021-09-15 10:33:37 +02:00
J-Jamet aee58a4475 Fix exception after group name change and save #1112 2021-09-15 09:48:48 +02:00
J-Jamet c5e07f643f Fix Magikeyboard URL auto action #1100 2021-09-14 20:40:22 +02:00
J-Jamet 77c6e28876 Fix max lines #1073 2021-09-14 20:06:49 +02:00
J-Jamet fb7f66012d Upgrade to 3.0.1 2021-09-14 19:35:30 +02:00
J-Jamet 0f7f7bbe6c Min height to 48dp 2021-09-14 19:30:50 +02:00
J-Jamet 8dedb8deb4 Fix text dimension 2021-09-14 19:10:48 +02:00
J-Jamet 8dd6c33901 Fix add entry education hint with default templates 2021-09-07 14:00:02 +02:00
J-Jamet f920d40db5 Fix autofill popup window application id #1046 2021-09-07 13:45:35 +02:00
J-Jamet 19be6c1acc Upgrade to 3.0.0 2021-09-07 13:17:34 +02:00
J-Jamet 7d9d8ad0e4 Manage magikeyboard in landscape 2021-09-07 13:09:24 +02:00
J-Jamet 85f8237d5f Merge branch 'fullscreen' of git://github.com/chenxiaolong/KeePassDX into chenxiaolong-fullscreen 2021-09-07 12:41:24 +02:00
J-Jamet c542894734 Small change in progress dialog 2021-09-07 12:18:21 +02:00
J-Jamet d348987077 Remove unused code 2021-09-07 11:21:28 +02:00
J-Jamet 3718610595 Copy OTP Token from list to provide suitable alternative to #553 2021-09-07 10:44:34 +02:00
J-Jamet 9c36ec0623 Fix datetime font size 2021-09-07 10:29:08 +02:00
Andrew Gunnerson 4eaa179789 magikeyboard: Don't force full screen EditTexts on large screen devices
Per [1], Android defaults to showing EditTexts in full screen mode when
the device is in landscape orientation. This makes sense for phones,
but not so much for larger screen devices, like tablets.

This commit updates MagiKeyboard to not use full screen mode on large
screen devices. The condition for disabling full screen mode is the same
as in the AOSP keyboard and should match what other OEM keyboards do as
well.

[1] https://developer.android.com/reference/android/inputmethodservice/InputMethodService#fullscreen-mode
2021-09-06 13:01:56 -04:00
J-Jamet 9008cd4549 Remove max lines in TextFieldView #1073 #1076 2021-09-06 12:18:17 +02:00
J-Jamet cc3204453e Upgrade to 3.0.0_beta03 2021-09-03 15:31:17 +02:00
J-Jamet 2a9de97a19 Default manual selection to true 2021-09-03 15:14:39 +02:00
J-Jamet 9cecfed417 Add dots 2021-09-03 15:10:18 +02:00
J-Jamet 319715918a Small change to merge views 2021-09-03 15:02:40 +02:00
J-Jamet a3bf6e8b6d Small change for consistency 2021-09-03 14:41:45 +02:00
J-Jamet c4062658ce Fix search info parcelable 2021-09-03 14:39:19 +02:00
J-Jamet 01a5de413e Merge branch 'develop' of git://github.com/uduerholz/KeePassDX into uduerholz-develop 2021-09-03 14:18:51 +02:00
J-Jamet e4c22b1f29 Change remote views when the database is open 2021-09-03 12:44:01 +02:00
J-Jamet b10e60126f Fix UUID view 2021-09-02 17:39:08 +02:00
J-Jamet ef1f27f421 Check null view model callback 2021-09-02 17:31:51 +02:00
J-Jamet 0ed208675c Fix reloading from history 2021-09-02 17:18:01 +02:00
J-Jamet 00f7a0a194 Better entry activity view model to fix reloading 2021-09-02 17:05:07 +02:00
J-Jamet 935d4f4a64 Unused throw 2021-09-02 16:13:25 +02:00
J-Jamet dc4d88260d Fix database reload 2021-09-02 16:13:08 +02:00
J-Jamet 18934601da Fix education 2021-09-02 14:26:08 +02:00
J-Jamet 4ea811aeda Fix menu in template creation 2021-09-02 13:48:48 +02:00
J-Jamet f8fdecdc8f Fix multiple loading by move variables in entry edit view model 2021-09-02 11:12:19 +02:00
J-Jamet 5467c61137 Add equals in node info 2021-09-02 11:10:51 +02:00
J-Jamet 9c72b4cc56 Fix timeout switch 2021-09-01 18:51:18 +02:00
J-Jamet 9102217bc3 Fix template lost after orientation change #1069 2021-09-01 17:38:29 +02:00
Uli 0e8fd7b2c4 Merge branch 'Kunzisoft:develop' into develop 2021-09-01 14:41:07 +02:00
J-Jamet a06ea8fe55 Fix warning 2021-08-30 11:13:38 +02:00
J-Jamet 31eb0fb48a Upgrade to 3.0.0_beta02 2021-08-30 11:05:38 +02:00
J-Jamet d6a012e85f Fix Permissions #1066 2021-08-30 11:05:08 +02:00
J-Jamet 11c1cc7c72 Change name to beta 01 2021-08-29 20:02:02 +02:00
J-Jamet 6b7acb7bd5 Fix translations 2021-08-29 19:57:34 +02:00
Hosted Weblate bdebf19d7b Merge branch 'origin/develop' into Weblate. 2021-08-29 19:42:45 +02:00