Inspectopedia Help

Clearing communication device

Clearing communication device

After selecting the audio device for communication use cases using setCommunicationDevice(AudioDeviceInfo device), the selection is active as long as the requesting application process lives, until clearCommunicationDevice() is called or until the device is disconnected. It is therefore important to clear the request when a call ends or the requesting activity or service is stopped or destroyed.

Issue id: SetAndClearCommunicationDevice

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023