1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 02:25:50 +01:00

Garmin protocol: enable media volume control from watch

This commit is contained in:
Daniele Gobbetti 2024-04-08 12:59:37 +02:00
parent 14c6ce1a3a
commit 9dee71df6f

View File

@ -21,6 +21,12 @@ public class MusicControlMessage extends GFDIMessage {
case SKIP_TO_PREVIOUS_ITEM:
event.event = GBDeviceEventMusicControl.Event.PREVIOUS;
break;
case VOLUME_UP:
event.event = GBDeviceEventMusicControl.Event.VOLUMEUP;
break;
case VOLUME_DOWN:
event.event = GBDeviceEventMusicControl.Event.VOLUMEDOWN;
break;
}
this.statusMessage = this.getStatusMessage();