mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-24 19:06:53 +01:00
Garmin protocol: enable media volume control from watch
This commit is contained in:
parent
14c6ce1a3a
commit
9dee71df6f
@ -21,6 +21,12 @@ public class MusicControlMessage extends GFDIMessage {
|
|||||||
case SKIP_TO_PREVIOUS_ITEM:
|
case SKIP_TO_PREVIOUS_ITEM:
|
||||||
event.event = GBDeviceEventMusicControl.Event.PREVIOUS;
|
event.event = GBDeviceEventMusicControl.Event.PREVIOUS;
|
||||||
break;
|
break;
|
||||||
|
case VOLUME_UP:
|
||||||
|
event.event = GBDeviceEventMusicControl.Event.VOLUMEUP;
|
||||||
|
break;
|
||||||
|
case VOLUME_DOWN:
|
||||||
|
event.event = GBDeviceEventMusicControl.Event.VOLUMEDOWN;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.statusMessage = this.getStatusMessage();
|
this.statusMessage = this.getStatusMessage();
|
||||||
|
Loading…
Reference in New Issue
Block a user