code cleanup: removed an unused method from the Java code and unnecessary requirements for hardware keyboard from AndroidManifest.xml
This commit is contained in:
parent
a93fdfbefe
commit
c881aa0fd7
2 changed files with 0 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue