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

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

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

* commit '902cefb6':
  Suppress voice input key on textWebEmailAddress field
parents ace9c148 902cefb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;