diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml
index aef5de6f8c8..5245729310c 100644
--- a/OsmAnd/res/values/strings.xml
+++ b/OsmAnd/res/values/strings.xml
@@ -905,6 +905,7 @@ You need to activate the sensor so OsmAnd can find it.
• Default-speed adjustable forecast for elevation-dependent walking/hiking/running trip times\n\n
• Fixed audio output and volume slider behavior\n\n
+ Send Pebble Voice notifications
Announce GPS signal loss and recovery
Announce route recalculation
Coordinates: Map center
diff --git a/OsmAnd/res/xml/voice_announces.xml b/OsmAnd/res/xml/voice_announces.xml
index f411f86f6ef..6e8b4493ce4 100644
--- a/OsmAnd/res/xml/voice_announces.xml
+++ b/OsmAnd/res/xml/voice_announces.xml
@@ -141,6 +141,11 @@
android:layout="@layout/preference_switch"
android:title="@string/speak_route_deviation" />
+
+
getCustomRoutingBooleanProperty(String attrName
public final OsmandPreference USE_OSM_LIVE_FOR_PUBLIC_TRANSPORT = new BooleanPreference(this, "enable_osmc_public_transport", false).makeProfile();
+ public final OsmandPreference PEBBLE_VOICE = new BooleanPreference(this, "pebble_voice", true).makeProfile().cache();
+
public final OsmandPreference VOICE_MUTE = new BooleanPreference(this, "voice_mute", false).makeProfile().cache();
// for background service
diff --git a/OsmAnd/src/net/osmand/plus/voice/JsTtsCommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/JsTtsCommandPlayer.java
index a7c78f67c10..c2e73d9c105 100644
--- a/OsmAnd/src/net/osmand/plus/voice/JsTtsCommandPlayer.java
+++ b/OsmAnd/src/net/osmand/plus/voice/JsTtsCommandPlayer.java
@@ -169,7 +169,9 @@ public synchronized List playCommands(@NonNull CommandBuilder builder) {
for (String s : execute) {
bld.append(s).append(' ');
}
- sendAlertToPebble(bld.toString());
+ if (voiceRouter.pebbleVoiceEnabled()) {
+ sendAlertToPebble(bld.toString());
+ }
if (mTts != null && !voiceRouter.isMute() && speechAllowed) {
if (ttsRequests++ == 0) {
requestAudioFocus();