Skip to content
Snippets Groups Projects
Commit bfabac44 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Suppress voice input key on textWebEmailAddress field

Bug: 17486589
Change-Id: Ie9bf9266ee423b7e03cebcaa5f522accdd1a7802
parent 5ae05786
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ public final class InputAttributes { ...@@ -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;
......
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