mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 01:00:50 +00:00
修复三方应用picker图片过曝
Signed-off-by: jimsu7 <1337851552@qq.com>
This commit is contained in:
parent
b0cdcb846d
commit
a3a9417a69
@ -68,7 +68,8 @@ RSSurfaceNode::SharedPtr RSSurfaceNode::Create(const RSSurfaceNodeConfig& surfac
|
||||
RSNodeMap::MutableInstance().RegisterNode(node);
|
||||
RS_LOGD("RSSurfaceNode::Create HDRClient name: %{public}s, type: %{public}hhu, id: %{public}" PRIu64,
|
||||
node->name_.c_str(), type, node->GetId());
|
||||
if (type == RSSurfaceNodeType::APP_WINDOW_NODE || type == RSSurfaceNodeType::UI_EXTENSION_COMMON_NODE) {
|
||||
if (type == RSSurfaceNodeType::APP_WINDOW_NODE || type == RSSurfaceNodeType::UI_EXTENSION_COMMON_NODE ||
|
||||
type == RSSurfaceNodeType::UI_EXTENSION_SECURE_NODE) {
|
||||
auto callback = &RSSurfaceNode::SetHDRPresent;
|
||||
RSHDRManager::Instance().RegisterSetHDRPresent(callback, node->GetId());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user