Manage magikeyboard in landscape

This commit is contained in:
J-Jamet
2021-09-07 13:09:24 +02:00
parent 85f8237d5f
commit 7d9d8ad0e4
6 changed files with 5 additions and 50 deletions

View File

@@ -5,7 +5,7 @@ KeePassDX(3.0.0)
* Fix timeout in dialogs #716 * Fix timeout in dialogs #716
* Check URI permissions #626 * Check URI permissions #626
* Better autofill implementation #943 #946 #984 #1070 (Thx @uduerholz) * Better autofill implementation #943 #946 #984 #1070 (Thx @uduerholz)
* Improvements #680 #1035 #1043 #942 #1021 #1027 #1082 * Improvements #680 #1035 #1043 #942 #1021 #1027 #1082 #1083 (Thx @chenxiaolong)
KeePassDX(2.10.5) KeePassDX(2.10.5)
* Increase the saving speed of database #1028 * Increase the saving speed of database #1028

View File

@@ -179,9 +179,8 @@ class MagikeyboardService : InputMethodService(), KeyboardView.OnKeyboardActionL
} }
override fun onEvaluateFullscreenMode(): Boolean { override fun onEvaluateFullscreenMode(): Boolean {
val fullscreenAllowed = resources.getBoolean(R.bool.magikeyboard_allow_fullscreen_mode) return resources.getBoolean(R.bool.magikeyboard_allow_fullscreen_mode)
&& super.onEvaluateFullscreenMode()
return fullscreenAllowed && super.onEvaluateFullscreenMode()
} }
private fun playVibration(keyCode: Int) { private fun playVibration(keyCode: Int) {

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 Jeremy Jamet / Kunzisoft.
This file is part of KeePassDX.
KeePassDX is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
KeePassDX is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<bool name="magikeyboard_allow_fullscreen_mode">false</bool>
</resources>

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 Jeremy Jamet / Kunzisoft.
This file is part of KeePassDX.
KeePassDX is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
KeePassDX is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<bool name="magikeyboard_allow_fullscreen_mode">false</bool>
</resources>

View File

@@ -4,4 +4,4 @@
* Fix timeout in dialogs #716 * Fix timeout in dialogs #716
* Check URI permissions #626 * Check URI permissions #626
* Better autofill implementation #943 #946 #984 #1070 (Thx @uduerholz) * Better autofill implementation #943 #946 #984 #1070 (Thx @uduerholz)
* Improvements #680 #1035 #1043 #942 #1021 #1027 #1082 * Improvements #680 #1035 #1043 #942 #1021 #1027 #1082 #1083 (Thx @chenxiaolong)

View File

@@ -4,4 +4,4 @@
* Correction du délai d'expiration dans les dialogues #716 * Correction du délai d'expiration dans les dialogues #716
* Vérification des permissions URI #626 * Vérification des permissions URI #626
* Meilleure implémentation du remplissage auto #943 #946 #984 #1070 (Thx @uduerholz) * Meilleure implémentation du remplissage auto #943 #946 #984 #1070 (Thx @uduerholz)
* Améliorations #680 #1035 #1043 #942 #1021 #1027 #1082 * Améliorations #680 #1035 #1043 #942 #1021 #1027 #1082 #1083 (Thx @chenxiaolong)