audio: use proper app ops API to check capture audio permission
Use AppOpsManager.checkOp() instead of AppOpsManager.noteOp() to verify capture audio permission when creating an AudioRecord client. This avoid false triggering of mic use UI indication if capture is not actually active. Test: verify main audio capture use cases Change-Id: I38c7429bf2c8cdeaba907c868b94e39b69626c55
Loading
Please register or sign in to comment