1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 01:09:47 +01:00
Gadgetbridge/app
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
..
src Huami/Xiaomi: centralize handling of device state events 2023-12-09 00:20:22 +01:00
build.gradle Xiaomi: Cleanup code and comments 2023-11-25 22:18:34 +00:00
lint-baseline.xml Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00
proguard-rules.pro Add lint baseline, enable linting on CI, fix some reported errors (#3291) 2023-09-11 09:17:04 +00:00