diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/views/settings/SingleEditSetting.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/views/settings/SingleEditSetting.java index d9334d3ab..8e51c8f1a 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/views/settings/SingleEditSetting.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/views/settings/SingleEditSetting.java @@ -62,12 +62,7 @@ private void initialize(Context aContext) { mEdit1 = findViewById(R.id.editValue1); mEdit1.setHighlightedTextColor(mHighlightedTextColor); mEdit1.setOnEditorActionListener(mInternalEditorActionListener); - mEdit1.setOnClickListener(view -> { - if (mEdit1.getText().toString().equals(mEdit1.getHint())) { - mEdit1.requestFocus(); - mEdit1.selectAll(); - } - }); + if (mMaxLength != 0) { mEdit1.setFilters(new InputFilter[]{ new InputFilter.LengthFilter(mMaxLength)