diff --git a/services/devicemanagerservice/src/ipc/standard/ipc_cmd_parser.cpp b/services/devicemanagerservice/src/ipc/standard/ipc_cmd_parser.cpp index 1f58b838d97bc940bd9401bf16195eb312e763b6..5d3292e812f630e4b2d7481b4e78c5d00e1e37aa 100644 --- a/services/devicemanagerservice/src/ipc/standard/ipc_cmd_parser.cpp +++ b/services/devicemanagerservice/src/ipc/standard/ipc_cmd_parser.cpp @@ -356,8 +356,7 @@ ON_IPC_SET_REQUEST(SERVER_DEVICEMANAGER_FA_NOTIFY, std::shared_ptr pBase DMLOG(DM_LOG_ERROR, "write pkgName failed"); return DEVICEMANAGER_FLATTEN_OBJECT; } - if (!data.WriteString(paramJson)) - { + if (!data.WriteString(paramJson)) { DMLOG(DM_LOG_ERROR, "write paramJson failed"); return DEVICEMANAGER_FLATTEN_OBJECT; }