This type of check should instead be performed by the application/client. If the app does not have mic permissions, construction of the AudioRecord object will fail and the user will receive an error callback anyhow. Bug: b/69434512 Change-Id: If1d7eff488f7c693697e048a567c17ed0c51f040 Reviewed-on: https://webrtc-review.googlesource.com/25261 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20839}