am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit 'bfabac449d0b529ee22887aa198a34fdf04b3beb': Suppress voice input key on textWebEmailAddress fieldmain
commit
97ad496868
|
@ -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