am 3e5c442c: am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit '3e5c442c292bcf20722e9472976f3e320480f1b3': Suppress voice input key on textWebEmailAddress fieldmain
commit
f21ae6ba8d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue