diff options
author | Nazanin <nazaninb@google.com> | 2021-08-24 14:14:11 -0700 |
---|---|---|
committer | Nazanin Bakhshi <nazaninb@google.com> | 2021-08-26 20:53:31 +0000 |
commit | 545e13b21eeeb12948d543a6d58701684adc93ef (patch) | |
tree | a4f5c30fbfbba72e4fe6a48468b6153e188371f7 /src/com/android/stk | |
parent | 43feaaf71d472fb894a414dd71a45d95a3ba0ee4 (diff) | |
download | Stk-545e13b21eeeb12948d543a6d58701684adc93ef.tar.gz |
do not show the length helper for the text input
Test: manually verified
Bug: 194545490
Change-Id: Ifcada6c2cfeb8805dd422d0c44b98618de6c1bb8
Diffstat (limited to 'src/com/android/stk')
-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 |