Skip to content
Snippets Groups Projects
Commit e7c2d1c9 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

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

* commit '902cefb6':
  Suppress voice input key on textWebEmailAddress field
parents ace9c148 902cefb6
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment