I am using this SearchView library in my app. The RECORD_AUDIO
permission is not part of my application but I can still use the voice search feature without being prompted for permission. However, if I disable the Google app's Microphone permission, the feature doesn't work. It doesn't crash or ask for permission, it just kind of stutters.
So my questions are:
- How is my app using the Google app's permissions like this?
- How can I handle a user that has disabled the Google app's Microphone permission?
Some info:
In the example app's AndroidManifest, the RECORD_AUDIO
permission is listed, but I did not list it in mine.
I have checked both:
/app/build/intermediates/manifests/full/debug/AndroidManifest.xml
/app/build/outputs/logs/manifest-merger-debug-report.txt
Neither of the files have any mention of a RECORD_AUDIO
permission. My application's permissions settings do not list Microphone as an option.