huawei: set fileUpload requests addToResponse=false
This commit is contained in:
parent
c206b8f06f
commit
88651b98fc
|
@ -46,11 +46,11 @@ public class FileUpload {
|
|||
this.complete = true;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public static class Response extends HuaweiPacket {
|
||||
public Response (ParamsProvider paramsProvider) {
|
||||
super(paramsProvider);
|
||||
}
|
||||
public static class Response extends HuaweiPacket {
|
||||
public Response (ParamsProvider paramsProvider) {
|
||||
super(paramsProvider);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,12 +76,12 @@ public class FileUpload {
|
|||
|
||||
}
|
||||
|
||||
public static class Response extends HuaweiPacket {
|
||||
public Response (ParamsProvider paramsProvider) {
|
||||
super(paramsProvider);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class Response extends HuaweiPacket {
|
||||
public Response (ParamsProvider paramsProvider) {
|
||||
super(paramsProvider);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ public class SendFileUploadAck extends Request {
|
|||
this.serviceId = FileUpload.id;
|
||||
this.commandId = FileUpload.FileUploadConsultAck.id;
|
||||
this.noEncryption = noEncryption;
|
||||
this.addToResponse = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -14,6 +14,7 @@ public class SendFileUploadChunk extends Request {
|
|||
this.huaweiUploadManager = watchfaceManager;
|
||||
this.serviceId = FileUpload.id;
|
||||
this.commandId = FileUpload.FileNextChunkSend.id;
|
||||
this.addToResponse = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -13,6 +13,7 @@ public class SendFileUploadComplete extends Request {
|
|||
|
||||
this.serviceId = FileUpload.id;
|
||||
this.commandId = FileUpload.FileUploadResult.id;
|
||||
this.addToResponse = false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ public class SendFileUploadHash extends Request{
|
|||
this.huaweiUploadManager = huaweiUploadManager;
|
||||
this.serviceId = FileUpload.id;
|
||||
this.commandId = FileUpload.FileHashSend.id;
|
||||
this.addToResponse = false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ public class SendFileUploadInfo extends Request{
|
|||
this.huaweiUploadManager = huaweiUploadManager;
|
||||
this.serviceId = FileUpload.id;
|
||||
this.commandId = FileUpload.FileInfoSend.id;
|
||||
this.addToResponse = false;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ public class SendWatchfaceConfirm extends Request {
|
|||
this.serviceId = Watchface.id;
|
||||
this.commandId = Watchface.WatchfaceConfirm.id;
|
||||
this.fileName = filename;
|
||||
this.addToResponse = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue