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

@ -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;