1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-04 21:12:29 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service
Steffen Liebergeld e386d6da43 Add onSetMusicState(MusicStateSpec stateSpec)
This commit contains the infrastructure needed for the
NotificationHandler to send music state information to the device. That
is, it introduces a call onSetMusicState(MusicStateSpec stateSpec), that
in turn sets up an intent to the service, which will then call the
encodeSetMusicState() function of the device. encodeSetMusicState is
available for pebble only. There are empty stubs for other devices.
2016-06-08 20:31:48 +02:00
..
btle Set state to "Waiting for reconnect" for BTLE devices 2016-05-26 23:48:05 +02:00
devices Add onSetMusicState(MusicStateSpec stateSpec) 2016-06-08 20:31:48 +02:00
receivers Move parsing of preference strings to int values to Prefs 2016-04-25 23:39:03 +02:00
serial Add onSetMusicState(MusicStateSpec stateSpec) 2016-06-08 20:31:48 +02:00
AbstractDeviceSupport.java Make automatic reconnect after connection loss configurable #293 2016-04-28 23:17:13 +02:00
DeviceCommunicationService.java Add onSetMusicState(MusicStateSpec stateSpec) 2016-06-08 20:31:48 +02:00
DeviceSupport.java Make automatic reconnect after connection loss configurable #293 2016-04-28 23:17:13 +02:00
DeviceSupportFactory.java convert byte and short values related to activity tracking to int 2016-02-29 20:54:39 +01:00
ServiceDeviceSupport.java Add onSetMusicState(MusicStateSpec stateSpec) 2016-06-08 20:31:48 +02:00