don't hide voice input key for TYPE_TEXT_VARIATION_URI

see #544
URL fields are frequently used as search fields
This commit is contained in:
Helium314 2024-03-10 19:41:46 +01:00
parent ec4d0558e7
commit 3feac6d966

View file

@ -99,7 +99,6 @@ public final class InputAttributes {
final boolean noMicrophone = mIsPasswordField
|| InputTypeUtils.isEmailVariation(variation)
|| InputType.TYPE_TEXT_VARIATION_URI == variation
|| hasNoMicrophoneKeyOption()
|| !RichInputMethodManager.getInstance().hasShortcutIme();
mShouldShowVoiceInputKey = !noMicrophone;