mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Test device: Implement battery polling
This commit is contained in:
parent
125e6371c3
commit
953d26ed71
@ -595,6 +595,11 @@ public class TestDeviceCoordinator extends AbstractDeviceCoordinator {
|
|||||||
return supports(getTestDevice(), TestFeature.NOTIFICATION_LED_PATTERNS);
|
return supports(getTestDevice(), TestFeature.NOTIFICATION_LED_PATTERNS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean addBatteryPollingSettings() {
|
||||||
|
return supports(getTestDevice(), TestFeature.BATTERY_POLLING_SETTINGS);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AbstractNotificationPattern[] getNotificationVibrationPatterns() {
|
public AbstractNotificationPattern[] getNotificationVibrationPatterns() {
|
||||||
// TODO getNotificationVibrationPatterns
|
// TODO getNotificationVibrationPatterns
|
||||||
|
@ -70,4 +70,5 @@ public enum TestFeature {
|
|||||||
WEATHER,
|
WEATHER,
|
||||||
WIDGETS,
|
WIDGETS,
|
||||||
WORLD_CLOCKS,
|
WORLD_CLOCKS,
|
||||||
|
BATTERY_POLLING_SETTINGS,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user