Fix config for AbstractHeadphoneDeviceSupport

Configuration changes are not passed to subclasses because
super.onSendConfiguration() is not called.
This commit is contained in:
Severin von Wnuck-Lipinski
2024-07-01 19:48:17 +00:00
committed by José Rebelo
parent d345325b46
commit 0035c52d2a
@@ -114,6 +114,8 @@ public abstract class AbstractHeadphoneDeviceSupport extends AbstractSerialDevic
gbTextToSpeech.setAudioFocus(prefs.getBoolean(PREF_SPEAK_NOTIFICATIONS_FOCUS_EXCLUSIVE, false) ?
AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE :
AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK);
} else {
super.onSendConfiguration(config);
}
}