mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-26 18:40:40 +00:00
commit
d7c0e99786
@ -148,6 +148,7 @@ bool PrinterCapability::ReadFromParcel(Parcel &parcel)
|
||||
if (hasResolution_) {
|
||||
std::vector<PrintResolution> resolutionList;
|
||||
vecSize = parcel.ReadUint32();
|
||||
CHECK_IS_EXCEED_PRINT_RANGE_BOOL(vecSize);
|
||||
for (uint32_t index = 0; index < vecSize; index++) {
|
||||
auto resolutionPtr = PrintResolution::Unmarshalling(parcel);
|
||||
if (resolutionPtr == nullptr) {
|
||||
|
@ -5,6 +5,7 @@
|
||||
"name": 3707,
|
||||
"libpath": "libprint_service.z.so",
|
||||
"run-on-create": false,
|
||||
"auto-restart": true,
|
||||
"distributed": false,
|
||||
"dump_level": 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user