mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
435d41aca0
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. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
lint-baseline.xml | ||
proguard-rules.pro |