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

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

* commit '3e5c442c':
  Suppress voice input key on textWebEmailAddress field
parents 4cbfee7a 3e5c442c
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