This feels like a pretty small edge case to me, honestly, and I think we can only update the search widget once an hour? If that's the case, when a user taps the voice icon we should just validate and clear out the icon when the intent launches.
I would normally say that maybe we should redirect the user to settings when they click the microphone, where they can re-enable the Google app. But that requires also some UI like a pop-up informing them of why this is happening, and then handling the result from settings. While this is certainly feasible, since the use-case is so limited, I think simply closing the activity OR redirecting to home and displaying a short Toast like "Please enable your Google App" should do. If that's the way to go, can we also get the string for the toast message?
EDIT: just realised I forgot to mention the behaviour: as @sblatz said, currently our widget is refreshing every hour, so what I said above applies to that the period between when the user disables the app and the widget refreshing (so max 1 hour period). After that hour, the microphone will disappear.
@brampitoyo @betsymi for follow-up
@brampitoyo and @betsymi - Just following up on this. If this requires more attention, please update flag to needs UX-investigation and remove UX-feedback flag. Thanks!
@sblatz @BranescuMihai
As the process to reactivate voice is too long and hard to teach with a snackbar that disappears after a few seconds, we should not show a toast.
Instead, let’s “scale down elegantly” and just hide the microphone icon from the widget, as we already do in the Fenix address bar.
@brampitoyo so the issue is that we're currently allowed by the system to update the widget only every hour. Which means that if the user disabled the Google app right after a scheduled widget update, they will see the microphone icon for another 59 minutes, even though it will do nothing on click. And only after those 59 minutes we'll be able to hide it.
Is that ok?
@BranescuMihai I think showing the microphone icon for the next 59 minutes will be mildly annoying and could imply that something is broken (“I’ve disabled it – why does it still show up?), but it’s also the best compromise we can make given system limitation.
Let’s do that.
This should be fixed in the next Nightly.
Hi issue is fixed, verification based on comment on latest Nightly 8/26 with:

@Mugurell - Based on the previous affirmation that the widget updates hourly. i can see that the mic icon is not removed from the widget, the update of it can't be seen on android device.
Created a new issue for this: https://github.com/mozilla-mobile/fenix/issues/14206
Note: