From 0698e591e3e212577ef931250d7c9c1c5e4b8d40 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Thu, 21 Mar 2019 13:22:54 -0500 Subject: [PATCH] fix(AudioModeModule): disable ConnectionService It's causing the microphone to not work in the audio only mode. On some devices occasionally and consistently on the others (Samasung). --- .../src/main/java/org/jitsi/meet/sdk/AudioModeModule.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 7b693e544..4a8019dd2 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 @@ -161,7 +161,10 @@ class AudioModeModule extends ReactContextBaseJavaModule * Whether or not the ConnectionService is used for selecting audio devices. */ static boolean useConnectionService() { - return Build.VERSION.SDK_INT >= Build.VERSION_CODES.O; + // This is a hotfix for a release. Use feature flags added on top of the + // new SDK API instead. + // return Build.VERSION.SDK_INT >= Build.VERSION_CODES.O; + return false; } /**