diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java index 54d34f170..01f3d2c9f 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java @@ -37,7 +37,6 @@ import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.WritableArray; import com.facebook.react.bridge.WritableMap; -import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; @@ -181,7 +180,7 @@ class AudioModeModule extends ReactContextBaseJavaModule { /** * List of currently available audio devices. */ - private Set availableDevices = Collections.emptySet(); + private Set availableDevices = new HashSet<>(); /** * Currently selected device.