diff options
author | Nazanin <nazaninb@google.com> | 2021-08-23 16:30:05 -0700 |
---|---|---|
committer | Nazanin Bakhshi <nazaninb@google.com> | 2021-08-27 18:34:14 +0000 |
commit | 5b4b84e794ce22a5fbf80ab2d135631fc18e3791 (patch) | |
tree | a4f5c30fbfbba72e4fe6a48468b6153e188371f7 /src | |
parent | 43feaaf71d472fb894a414dd71a45d95a3ba0ee4 (diff) | |
download | Stk-5b4b84e794ce22a5fbf80ab2d135631fc18e3791.tar.gz |
do not show the length helper for the text input
Test: manually verified
Bug: 194545490
Change-Id: Ia9cf7c3500e9ad939d4bfc225b60c9052ee2024e
Merged-In: Ifcada6c2cfeb8805dd422d0c44b98618de6c1bb8
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/stk/StkInputActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java index 0af6767..9e76309 100644 --- a/src/com/android/stk/StkInputActivity.java +++ b/src/com/android/stk/StkInputActivity.java @@ -467,7 +467,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 |