diff options
author | Nazanin <nazaninb@google.com> | 2021-08-26 21:04:48 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-26 21:04:48 +0000 |
commit | 13cbc45d307f877729d21d1d823e4fb9c9233e56 (patch) | |
tree | 5f381f53d877b757f8e1b35560b1c2d0bbc2c9e3 /src/com/android/stk | |
parent | 7c47d97bf8f86e656b6b793ac3f364d9e6094dc3 (diff) | |
parent | 545e13b21eeeb12948d543a6d58701684adc93ef (diff) | |
download | Stk-13cbc45d307f877729d21d1d823e4fb9c9233e56.tar.gz |
do not show the length helper for the text input am: 545e13b21e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Stk/+/15664508
Change-Id: I944d4461b7f8e56ae94dac6d58e4ea165a16e8a1
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 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 |