mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 01:55:50 +01:00
Fix config for AbstractHeadphoneDeviceSupport
Configuration changes are not passed to subclasses because super.onSendConfiguration() is not called.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user