mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-27 17:50:57 +02: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:
parent
4f5e2d0730
commit
95da81dfcf
@ -286,7 +286,7 @@ public class TLW64Support extends AbstractBTLEDeviceSupport {
|
|||||||
public void onSetCallState(CallSpec callSpec) {
|
public void onSetCallState(CallSpec callSpec) {
|
||||||
if (callSpec.command == CallSpec.CALL_INCOMING) {
|
if (callSpec.command == CallSpec.CALL_INCOMING) {
|
||||||
showNotification(TLW64Constants.NOTIFICATION_CALL, callSpec.name);
|
showNotification(TLW64Constants.NOTIFICATION_CALL, callSpec.name);
|
||||||
setVibration(3, 5);
|
setVibration(1, 30);
|
||||||
} else {
|
} else {
|
||||||
stopNotification();
|
stopNotification();
|
||||||
setVibration(0, 0);
|
setVibration(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user