I ran across this thread searching for a solution to this same problem, and ended up getting an idea from it that worked for me (on Blackberry KEYone running Android 7.1.1, FWIW):
Go into an app, bring up the voice dictation listening screen, then tap the gear icon there. In the settings...