1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

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
This commit is contained in:
115ek 2020-07-01 18:49:45 +02:00
parent 4f5e2d0730
commit 95da81dfcf

View File

@ -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);