commit | 0a254ebb74cf47030cf218abf8c3571acbc3c952 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jan 11 06:11:09 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jan 11 06:11:09 2023 +0000 |
tree | cb9594c8f33c93ad3c9dc8457a0a0d29be86f5a8 | |
parent | 6e4cdd28cf4129bb77d31676c10c3f8c4f6faae7 [diff] | |
parent | df31a2ff3b60998b12e772056b9af38efb8dd61e [diff] |
Merge "modify InputType to PHONE in DigitOnly mode Bug: 261140349 Test: verified manually" am: 3a1517a7a2 am: df31a2ff3b Original change: https://android-review.googlesource.com/c/platform/packages/apps/Stk/+/2382003 Change-Id: I6add5b86fdee2244fa490f7b552131a739c9f24c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java index c84b7f2..365a6d2 100644 --- a/src/com/android/stk/StkInputActivity.java +++ b/src/com/android/stk/StkInputActivity.java
@@ -450,7 +450,7 @@ boolean hideHelper = false; if (mStkInput.digitOnly) { mTextIn.setKeyListener(StkDigitsKeyListener.getInstance()); - mTextIn.setInputType(InputType.TYPE_CLASS_NUMBER); + mTextIn.setInputType(InputType.TYPE_CLASS_PHONE); inTypeId = R.string.digits; hideHelper = StkAppService.getBooleanCarrierConfig(this, CarrierConfigManager.KEY_HIDE_DIGITS_HELPER_TEXT_ON_STK_INPUT_SCREEN_BOOL,