mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-19 16:30:19 +00:00
Show suggestions everywhere except in password fields
This commit is contained in:
parent
cd267b5089
commit
a5c45318a7
1 changed files with 2 additions and 2 deletions
|
@ -105,12 +105,12 @@ public final class InputAttributes {
|
||||||
|
|
||||||
// TODO: Have a helper method in InputTypeUtils
|
// TODO: Have a helper method in InputTypeUtils
|
||||||
// Make sure that passwords are not displayed in {@link SuggestionStripView}.
|
// Make sure that passwords are not displayed in {@link SuggestionStripView}.
|
||||||
final boolean shouldSuppressSuggestions = mIsPasswordField
|
final boolean shouldSuppressSuggestions = mIsPasswordField;
|
||||||
//|| InputTypeUtils.isEmailVariation(variation)
|
//|| InputTypeUtils.isEmailVariation(variation)
|
||||||
//|| InputType.TYPE_TEXT_VARIATION_URI == variation
|
//|| InputType.TYPE_TEXT_VARIATION_URI == variation
|
||||||
//|| InputType.TYPE_TEXT_VARIATION_FILTER == variation
|
//|| InputType.TYPE_TEXT_VARIATION_FILTER == variation
|
||||||
//|| flagNoSuggestions
|
//|| flagNoSuggestions
|
||||||
|| flagAutoComplete;
|
//|| flagAutoComplete;
|
||||||
mShouldShowSuggestions = !shouldSuppressSuggestions;
|
mShouldShowSuggestions = !shouldSuppressSuggestions;
|
||||||
|
|
||||||
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
|
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue