1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-27 23:40:31 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/deviceevents
MrYoranimo 435d41aca0 Huami/Xiaomi: centralize handling of device state events
Gadgetbridge can be configured to perform an action when a
Huami device is taken off or the user was detected to fall asleep or
wake up. This functionality was specific to Huami devices, but this
changeset moves this upstream to the AbstractDeviceSupport class in
combination with new GBDeviceEvents.

Now that the ADS has centralized support for this functionality, the
same logic can be used for other devices. In this case, an
implementation is added for supported Xiaomi devices.
2023-12-09 00:20:22 +01:00
..
pebble update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEvent.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventAppInfo.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventAppManagement.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventAppMessage.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventBatteryInfo.java Add support for multiple batteries per device 2021-11-02 14:37:47 +01:00
GBDeviceEventCallControl.java Xiaomi Smart Band 7: Initial support 2022-08-19 23:13:27 +02:00
GBDeviceEventDisplayMessage.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventFindPhone.java Amazfit GTR 4: Initial support 2022-10-22 22:03:49 +02:00
GBDeviceEventFmFrequency.java Roidmi: Slight code cleanup 2021-12-26 18:27:01 +01:00
GBDeviceEventLEDColor.java Roidmi: Slight code cleanup 2021-12-26 18:27:01 +01:00
GBDeviceEventMusicControl.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventNotificationControl.java update license headers 2021-01-10 23:38:13 +01:00
GBDeviceEventScreenshot.java Move screenshot encoding to PebbleProtocol 2023-06-14 21:02:27 +01:00
GBDeviceEventSendBytes.java Sony WH-1000XM3: Simplify protocol code 2021-11-17 00:07:18 +00:00
GBDeviceEventSleepStateDetection.java Huami/Xiaomi: centralize handling of device state events 2023-12-09 00:20:22 +01:00
GBDeviceEventUpdateDeviceInfo.java Allow devices to update info, preferences and state 2021-12-20 11:29:21 +01:00
GBDeviceEventUpdateDeviceState.java Allow devices to update info, preferences and state 2021-12-20 11:29:21 +01:00
GBDeviceEventUpdatePreferences.java Amazfit GTR 4: Initial support 2022-10-22 22:03:49 +02:00
GBDeviceEventVersionInfo.java Bangle.js: Handle fw and hw versions 2023-08-09 09:09:52 +01:00
GBDeviceEventWearState.java Huami/Xiaomi: centralize handling of device state events 2023-12-09 00:20:22 +01:00