Add displaySheet reset.

This commit is contained in:
Alex Hart
2026-01-16 14:01:35 -04:00
parent 921415632b
commit 530b57644f

View File

@@ -182,6 +182,7 @@ class AudioOutputPickerController(
val isLegacy = Build.VERSION.SDK_INT < 31
if (!willDisplayPicker) {
if (isLegacy) {
displaySheet = false
onSelectedDeviceChanged(WebRtcAudioDevice(outputState.peekNext(), null))
} else {
newApiController!!.Picker(threshold = SHOW_PICKER_THRESHOLD)