summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2021-11-10 08:06:18 +0000
committerXin Li <delphij@google.com>2021-11-10 08:06:18 +0000
commit0799274e9caeb2fc9b58031c796930e69e083b35 (patch)
tree4735f0f1f38d22b5c579208a78e3b70ae328646c
parentd59801ae6ba874cc3bc163b31ab2be5400874b08 (diff)
parent6c821e60aca5a1d61293051c7cbc8b8f1ceb6fc0 (diff)
downloadStk-0799274e9caeb2fc9b58031c796930e69e083b35.tar.gz
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918temp_sam_210511427temp-sc-sam
Bug: 205056467 Merged-In: I9936a3eac58497f7e54184499d9bc04d40696e03 Change-Id: Iafb589f302cf44bca6946f20093fbd6a5888524c
-rw-r--r--src/com/android/stk/StkInputActivity.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 1363895..b9c821b 100644
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -469,7 +469,8 @@ public class StkInputActivity extends AppCompatActivity implements View.OnClickL
mTextIn.setFilters(new InputFilter[] {new InputFilter.LengthFilter(mStkInput.maxLen)});
textInput.setCounterMaxLength(mStkInput.maxLen);
- textInput.setCounterEnabled(true);
+ //do not show the length helper for the text input
+ textInput.setCounterEnabled(false);
if (!mStkInput.echo) {
mTextIn.setTransformationMethod(PasswordTransformationMethod