From 95da81dfcf85d74a21a9e08d5e2aee283fdca1a0 Mon Sep 17 00:00:00 2001 From: 115ek Date: Wed, 1 Jul 2020 18:49:45 +0200 Subject: [PATCH] TLW64: Increase vibration amount on call state * 5 vibrations are too less if someone calls * 30 vibrations last about 30 seconds (if call state doesn't change) * duration parameter behaves strange: higher value means shorter vibration?! -> let's go back to default duration of 1 --- .../gadgetbridge/service/devices/tlw64/TLW64Support.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/tlw64/TLW64Support.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/tlw64/TLW64Support.java index 763871afc..e35ddfc82 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/tlw64/TLW64Support.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/tlw64/TLW64Support.java @@ -286,7 +286,7 @@ public class TLW64Support extends AbstractBTLEDeviceSupport { public void onSetCallState(CallSpec callSpec) { if (callSpec.command == CallSpec.CALL_INCOMING) { showNotification(TLW64Constants.NOTIFICATION_CALL, callSpec.name); - setVibration(3, 5); + setVibration(1, 30); } else { stopNotification(); setVibration(0, 0);