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
|
|
@ -5,8 +5,6 @@
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
<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
|
<application
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
public boolean isPassword() {
|
||||||
if (field == null) {
|
if (field == null) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue