1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +01:00

Fossil Hybrid: removed unused variables

This commit is contained in:
Daniel Dakhno 2020-10-17 04:00:25 +02:00
parent d3dc6c4c5f
commit 7ce2688c29

View File

@ -32,20 +32,6 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.requests.fos
import nodomain.freeyourgadget.gadgetbridge.util.CRC32C;
public class FilePutRequest extends FilePutRawRequest {
public enum UploadState {INITIALIZED, UPLOADING, CLOSING, UPLOADED}
public UploadState state;
private ArrayList<byte[]> packets = new ArrayList<>();
private FileHandle handle;
private FossilWatchAdapter adapter;
private byte[] file;
private int fullCRC;
public FilePutRequest(FileHandle fileHandle, byte[] file, FossilWatchAdapter adapter) {
super(fileHandle, createFilePayload(fileHandle, file, adapter.getSupportedFileVersion(fileHandle)), adapter);
}