Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dee75631 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

am e7c2d1c9: am 902cefb6: am 97ad4968: am bfabac44: Suppress voice input key...

am e7c2d1c9: am 902cefb6: am 97ad4968: am bfabac44: Suppress voice input key on textWebEmailAddress field

* commit 'e7c2d1c9':
  Suppress voice input key on textWebEmailAddress field
parents 0f9bf787 e7c2d1c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,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;