am e7c2d1c9: am 902cefb6: am 97ad4968: am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit 'e7c2d1c99c165fac57486d472809dc45f920263c': Suppress voice input key on textWebEmailAddress fieldmain
commit
dee75631dd
|
@ -112,7 +112,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;
|
||||||
|
|
Loading…
Reference in New Issue