Removing diplicate error notification

This commit is contained in:
Aleksander Nowakowski
2017-11-09 12:37:19 +01:00
parent 64df27257a
commit 7c96c9c2f8

View File

@@ -179,12 +179,6 @@ public class GlucoseActivity extends BleProfileExpandableListActivity implements
showToast(R.string.gls_operation_failed);
}
@Override
public void onError(final BluetoothDevice device, final String message, final int errorCode) {
super.onError(device, message, errorCode);
onOperationFailed(device);
}
@Override
public void onDatasetChanged(final BluetoothDevice device) {
// Do nothing. Refreshing the list is done in onOperationCompleted