1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 18:45:49 +01:00

AsteroidOS: Remove unused overrides

There are now default empty implementations of all AbstractDeviceSupport
functions, so there's no need to provide empty ones
This commit is contained in:
Noodlez 2023-01-05 16:37:17 -08:00 committed by Gitea
parent 3e9a185b88
commit 8f5997d174

View File

@ -144,11 +144,6 @@ public class AsteroidOSDeviceSupport extends AbstractBTLEDeviceSupport {
builder.queue(getQueue()); builder.queue(getQueue());
} }
@Override
public void onSetAlarms(ArrayList<? extends Alarm> alarms) {
}
@Override @Override
public void onSetCallState(CallSpec callSpec) { public void onSetCallState(CallSpec callSpec) {
@ -158,11 +153,6 @@ public class AsteroidOSDeviceSupport extends AbstractBTLEDeviceSupport {
builder.queue(getQueue()); builder.queue(getQueue());
} }
@Override
public void onSetCannedMessages(CannedMessagesSpec cannedMessagesSpec) {
}
@Override @Override
public void onSetMusicState(MusicStateSpec stateSpec) { public void onSetMusicState(MusicStateSpec stateSpec) {
TransactionBuilder builder = new TransactionBuilder("set music state"); TransactionBuilder builder = new TransactionBuilder("set music state");
@ -186,61 +176,6 @@ public class AsteroidOSDeviceSupport extends AbstractBTLEDeviceSupport {
builder.queue(getQueue()); builder.queue(getQueue());
} }
@Override
public void onEnableRealtimeSteps(boolean enable) {
}
@Override
public void onInstallApp(Uri uri) {
}
@Override
public void onAppInfoReq() {
}
@Override
public void onAppStart(UUID uuid, boolean start) {
}
@Override
public void onAppDelete(UUID uuid) {
}
@Override
public void onAppConfiguration(UUID appUuid, String config, Integer id) {
}
@Override
public void onAppReorder(UUID[] uuids) {
}
@Override
public void onFetchRecordedData(int dataTypes) {
}
@Override
public void onReset(int flags) {
}
@Override
public void onHeartRateTest() {
}
@Override
public void onEnableRealtimeHeartRateMeasurement(boolean enable) {
}
@Override @Override
public void onFindDevice(boolean start) { public void onFindDevice(boolean start) {
final CallSpec callSpec = new CallSpec(); final CallSpec callSpec = new CallSpec();
@ -249,51 +184,6 @@ public class AsteroidOSDeviceSupport extends AbstractBTLEDeviceSupport {
onSetCallState(callSpec); onSetCallState(callSpec);
} }
@Override
public void onSetConstantVibration(int integer) {
}
@Override
public void onScreenshotReq() {
}
@Override
public void onEnableHeartRateSleepSupport(boolean enable) {
}
@Override
public void onSetHeartRateMeasurementInterval(int seconds) {
}
@Override
public void onAddCalendarEvent(CalendarEventSpec calendarEventSpec) {
}
@Override
public void onDeleteCalendarEvent(byte type, long id) {
}
@Override
public void onSendConfiguration(String config) {
}
@Override
public void onReadConfiguration(String config) {
}
@Override
public void onTestNewFunction() {
}
@Override @Override
public void onSendWeather(WeatherSpec weatherSpec) { public void onSendWeather(WeatherSpec weatherSpec) {
AsteroidOSWeather asteroidOSWeather = new AsteroidOSWeather(weatherSpec); AsteroidOSWeather asteroidOSWeather = new AsteroidOSWeather(weatherSpec);