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

am 50eb86f7: am f21ae6ba: am 3e5c442c: am bfabac44: Suppress voice input key...

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

* commit '50eb86f7':
  Suppress voice input key on textWebEmailAddress field
parents 179a39d1 50eb86f7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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