ElishaAz / Sayboard

An open-source on-device voice IME (keyboard) for Android using the Vosk library.
GNU General Public License v3.0
304 stars 19 forks source link

Sayboard should signal to Android that it needs to be skipped when switching keyboard language #52

Closed LuccoJ closed 7 months ago

LuccoJ commented 7 months ago

I have multiple languages enabled in the system. If I install and enable the "Google Voice Typing" keyboard from the proprietary "Speech Recognition and Synthesis from Google" package, this voice keyboard gets skipped when I loop through my available languages using the "world" :globe_with_meridians: icon, for example, in the standard AOSP keyboard: although I don't know which API is responsible for this, clearly the system knows that "Google Voice Typing" isn't just a regular keyboard that should be looped through, but instead, it should only get invoked by other keyboards when the microphone icon is tapped.

It would be great if Sayboard implemented the same thing, as otherwise, once my language switching ends up loading Sayboard, all I can do is go back to the original keyboard, but then I'm stuck there, as hitting the "world" icon again will bring up Sayboard again... and the only way to go back to the first input language is to bring up the "Choose input method" dialog, which is messy.

LuccoJ commented 7 months ago

Thanks!