audio: add call redirection audio modes
Add two audio modes corresponding to a call redirection scenario: - AudioManager.MODE_CALL_REDIRECT: PSTN call redirection - AudioManager.MODE_COMMUNICATION_REDIRECT: VoIP call redirection When in call redirect mode, call audio uplink and downlink are not routed to regular audio sinks (e.g. earpiece) or sources (e.g. built in mic) but disconnected. A privileged app can use system APIs to inject and extract call audio and redirect the call to another device. All other media use cases operate as if no call was active. Bug: 189472651 Test: make Change-Id: I3b1a616a72b1f7c97e0e5bf7c9f76c40a28876f1
Loading
Please register or sign in to comment