Sync AUDIO_STREAM_GUIDANCE from CAR to DEFAULT mode value

This commit is contained in:
sonora 2017-06-15 22:11:49 +02:00
parent 592ea3dd4d
commit bae55067b3

View file

@ -293,6 +293,8 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
if (player != null) {
player.updateAudioStream(settings.AUDIO_STREAM_GUIDANCE.get());
}
// Sync DEFAULT value with CAR value, as we have other way to set it for now
settings.AUDIO_STREAM_GUIDANCE.setModeValue(ApplicationMode.DEFAULT, settings.AUDIO_STREAM_GUIDANCE.getModeValue(ApplicationMode.CAR));
return true;
}
});