Make audio device button directly toggle when only two devices are present.

This commit is contained in:
Nicholas
2023-04-24 11:56:58 -04:00
committed by Alex Hart
parent 634e4abcc1
commit 125c4f43cf
11 changed files with 274 additions and 188 deletions

View File

@@ -832,7 +832,7 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
@RequiresApi(31)
@Override
public void onAudioOutputChanged31(@NonNull int audioDeviceInfo) {
public void onAudioOutputChanged31(@NonNull Integer audioDeviceInfo) {
ApplicationDependencies.getSignalCallManager().selectAudioDevice(new SignalAudioManager.ChosenAudioDeviceIdentifier(audioDeviceInfo));
}