mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit '97ad496868d147e311404d6f2dc0c9bca18f6231': Suppress voice input key on textWebEmailAddress field
This commit is contained in:
commit
902cefb663
@ -104,7 +104,7 @@ public final class InputAttributes {
|
||||
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
|
||||
|
||||
final boolean noMicrophone = mIsPasswordField
|
||||
|| InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS == variation
|
||||
|| InputTypeUtils.isEmailVariation(variation)
|
||||
|| InputType.TYPE_TEXT_VARIATION_URI == variation
|
||||
|| hasNoMicrophoneKeyOption();
|
||||
mShouldShowVoiceInputKey = !noMicrophone;
|
||||
|
Loading…
Reference in New Issue
Block a user