diff --git a/CHANGELOG.md b/CHANGELOG.md index b076d0e8b..8285da4d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Add weather support through "Weather Notification" app * Pebble: Support for build-in weather system app (FW 4.x) * Pebble: Add weather support for various watchfaces +* Pebble: Add option to disable call display * Pebble 2/LE: Improve reliablitly and transfer speed ####Version 0.16.0 diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleSupport.java index f88f5f77e..56087f238 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleSupport.java @@ -11,6 +11,7 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.UUID; +import nodomain.freeyourgadget.gadgetbridge.GBApplication; import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; import nodomain.freeyourgadget.gadgetbridge.model.Alarm; import nodomain.freeyourgadget.gadgetbridge.model.CalendarEventSpec; @@ -120,7 +121,11 @@ public class PebbleSupport extends AbstractSerialDeviceSupport { @Override public void onSetCallState(CallSpec callSpec) { if (reconnect()) { - super.onSetCallState(callSpec); + if (callSpec.command == CallSpec.CALL_OUTGOING) { + if (GBApplication.getPrefs().getBoolean("pebble_enable_outgoing_call",true)) { + super.onSetCallState(callSpec); + } + } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 522d0bade..522883d9f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -104,6 +104,9 @@ Sync Misfit Sync Morpheuz + Support outgoing calls + Disabling this will also stop the Pebble 2/LE to vibrate on outgoing calls + Allow 3rd Party Android App Access Enable experimental support for Android Apps using PebbleKit diff --git a/app/src/main/res/xml/changelog_master.xml b/app/src/main/res/xml/changelog_master.xml index 5f0774fc1..ee5f87fd0 100644 --- a/app/src/main/res/xml/changelog_master.xml +++ b/app/src/main/res/xml/changelog_master.xml @@ -4,6 +4,7 @@ Add weather support through "Weather Notification" app Pebble: Support for build-in weather system app (FW 4.x) Pebble: Add weather support for various watchfaces + Pebble: Add option to disable call display Pebble 2/LE: Improve reliablitly and transfer speed diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 92a17e129..43985431d 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -152,6 +152,11 @@ android:title="@string/pref_title_pebble_settings"> +