From ec395a4016d5ca05d53e9c58d4bacbd11962f3ef Mon Sep 17 00:00:00 2001 From: chen0088 Date: Tue, 7 Nov 2023 10:39:55 +0800 Subject: [PATCH] add subtype Signed-off-by: chen0088 --- screenhandler/src/dscreen_handler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/screenhandler/src/dscreen_handler.cpp b/screenhandler/src/dscreen_handler.cpp index e1e1ffc1..68b017ea 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()); -- Gitee