1
0
Fork 0

code cleanup: removed an unused method from the Java code and unnecessary requirements for hardware keyboard from AndroidManifest.xml

This commit is contained in:
Dimo Karaivanov 2023-08-25 11:08:46 +03:00
parent a93fdfbefe
commit c881aa0fd7
2 changed files with 0 additions and 14 deletions

View file

@ -5,8 +5,6 @@
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-configuration android:reqFiveWayNav="true" android:reqHardKeyboard="true" android:reqKeyboardType="qwerty"/>
<uses-configuration android:reqFiveWayNav="true" android:reqHardKeyboard="true" android:reqKeyboardType="twelvekey"/>
<application
android:allowBackup="false"

View file

@ -70,18 +70,6 @@ public class InputType {
}
public boolean isFilter() {
if (field == null) {
return false;
}
int inputType = field.inputType & android.text.InputType.TYPE_MASK_CLASS;
int inputVariation = field.inputType & android.text.InputType.TYPE_MASK_VARIATION;
return inputType == android.text.InputType.TYPE_CLASS_TEXT && inputVariation == android.text.InputType.TYPE_TEXT_VARIATION_FILTER;
}
public boolean isPassword() {
if (field == null) {
return false;