* commit 'f21ae6ba8d6dd532b388906168b17ab825a1d4b7': Suppress voice input key on textWebEmailAddress field
This commit is contained in:
commit
50eb86f7fa
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue