am 50eb86f7: am f21ae6ba: am 3e5c442c: am bfabac44: Suppress voice input key on textWebEmailAddress field

* commit '50eb86f7fa913d7d4b70f3895749eeae3cc1a578':
  Suppress voice input key on textWebEmailAddress field
main
Tadashi G. Takaoka 2014-09-18 06:44:09 +00:00 committed by Android Git Automerger
commit 7dc59d1286
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public final class InputAttributes {
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType); mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
final boolean noMicrophone = mIsPasswordField final boolean noMicrophone = mIsPasswordField
|| InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS == variation || InputTypeUtils.isEmailVariation(variation)
|| InputType.TYPE_TEXT_VARIATION_URI == variation || InputType.TYPE_TEXT_VARIATION_URI == variation
|| hasNoMicrophoneKeyOption(); || hasNoMicrophoneKeyOption();
mShouldShowVoiceInputKey = !noMicrophone; mShouldShowVoiceInputKey = !noMicrophone;