Commit Graph
2307 Commits
Author SHA1 Message Date
J-Jamet 999f1bf47a New lock icon in notification 2021-11-20 13:10:23 +01:00
J-Jamet 9e114eb2b8 Add lock button in database notification 2021-11-20 12:30:58 +01:00
J-Jamet 04ccb25fa3 Catch key file out of memory exception 2021-11-15 12:25:27 +01:00
J-Jamet 5a3f4b60b8 Catch style exception 2021-11-15 12:19:36 +01:00
J-Jamet 4408b2e488 Catch exception in run action 2021-11-15 12:04:46 +01:00
J-Jamet 91540b022d Use strong box to store in security chip #1145 2021-11-02 17:55:30 +01:00
J-Jamet 28400488aa Fix advanced unlock menu button 2021-11-02 17:22:23 +01:00
J-Jamet 45ae600289 Change biometric views 2021-11-02 17:10:06 +01:00
J-Jamet 8be6874651 Auto remove all biometric keys when invalidated 2021-11-02 16:27:29 +01:00
J-Jamet 5225a9459c Fix template chars limit 2021-10-27 20:01:47 +02:00
J-Jamet 2974b150af Fix template spinner 2021-10-27 19:55:14 +02:00
J-Jamet cf353c8067 Fix template icons 2021-10-27 19:27:21 +02:00
J-Jamet 335c28c2c9 Fix save default username 2021-10-25 15:57:01 +02:00
J-Jamet daf12cbcce Change Wifi to Wi-Fi 2021-10-25 15:44:18 +02:00
J-Jamet bf56eca003 Fix templates #1128 2021-10-25 15:41:20 +02:00
J-Jamet f0fdd4a537 Add & edit custom icon name #976 2021-09-28 18:12:49 +02:00
J-Jamet 9b847a0561 Change default Argon2 parameters #1098
and upgrade to 3.1.0
2021-09-28 12:57:14 +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 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 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 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 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
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 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