From bae55067b3602eda4384f7b6d3993bd5d0697826 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 15 Jun 2017 22:11:49 +0200 Subject: [PATCH] Sync AUDIO_STREAM_GUIDANCE from CAR to DEFAULT mode value --- .../net/osmand/plus/activities/SettingsNavigationActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsNavigationActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsNavigationActivity.java index 2f047ce3a9..eda15c2989 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsNavigationActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsNavigationActivity.java @@ -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; } });