This happened on my Mate 9. The persistent error message will pop up in every app that uses the microphone. Tried clearing cache, wiping cache partition but didn't help. The only way is to disable OK Google detection from any screen. Sad that there's no other way.