diff --git a/screenhandler/src/dscreen_handler.cpp b/screenhandler/src/dscreen_handler.cpp index e1e1ffc1c4cfce8d89b54b4957b38bda0fcb9569..68b017eadef53bd9f0205a5f965f000bacfa0cfb 100644 --- a/screenhandler/src/dscreen_handler.cpp +++ b/screenhandler/src/dscreen_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -162,6 +162,7 @@ std::vector DScreenHandler::Query() DHItem dhItem; dhItem.dhId = dhId; + dhItem.subtype = "screen"; dhItem.attrs = attrJson.dump(); dhItemVec.push_back(dhItem); DHLOGD("query result: dhId: %s, attrs: %s", GetAnonyString(dhId).c_str(), attrJson.dump().c_str());