am 97ad4968: am bfabac44: Suppress voice input key on textWebEmailAddress field

* commit '97ad496868d147e311404d6f2dc0c9bca18f6231':
  Suppress voice input key on textWebEmailAddress field
main
Tadashi G. Takaoka 2014-09-18 06:04:29 +00:00 committed by Android Git Automerger
commit 902cefb663
1 changed files with 1 additions and 1 deletions

View File

@ -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;