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).
This commit is contained in:
parent
e384c98330
commit
0698e591e3
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue