Support to input (0-9,*,# and +) in masked mode.
The InputType.TYPE_CLASS_NUMBER does not support to input the *,# and +.
Restore to the original code.
Change-Id: Ic9c42627b0326695af7d5dbf2152d478381d905b
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 96b7dca..219d84c 100755
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -402,8 +402,8 @@
numOfCharsView.setText(lengthLimit);
if (!mStkInput.echo) {
- mTextIn.setInputType(InputType.TYPE_CLASS_NUMBER
- | InputType.TYPE_NUMBER_VARIATION_PASSWORD);
+ mTextIn.setTransformationMethod(PasswordTransformationMethod
+ .getInstance());
}
// Set default text if present.
if (mStkInput.defaultText != null) {