已合并
[render_service] Add null and error code checks for stability and remove deprecated API #31394
sunriseLL创建于 7月20日
[render_service] Add null and error code checks for stability and remove deprecated API #31394
已合并
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 sunriseLL 的贡献)7月20日 关联了issue:[render_service] Add null and error code checks for stability and remove deprecated API
7月20日 关联了issue:[render_service] Add null and error code checks for stability and remove deprecated API
7月20日 添加了label:waiting_on_author
openharmony_ci
7月20日 评论:
7月20日 评论:
感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。
Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.


7月20日 添加了label:dco检查成功
7月21日 审查状态已重置,审查人: xiaojianfeng_jeffery
此处折叠了115条消息 查看更多
7月25日 通过测试
7月25日 关闭了关联的issue
7月25日 合入了pull request,合并节点 SHA:8510708bc4c158733dbb4238cfc66c8d04a41a63
7月25日 删除了label:waiting_on_author
7月25日 添加了label:merged
Description:
本 PR 提升渲染服务稳定性并清理废弃接口,主要包括:
RSRenderNode多个方法在访问stagingRenderParams_前未判空,新增stagingRenderParams_空指针守卫,避免解引用 nullptr 崩溃。RSRenderPipelineClient::CreateDisplayNode和CreateNode新增ErrCode返回值检查,失败时打印ROSEN_LOGE日志并返回false,改善 IPC 调用失败的可观测性。RSSystemProperties::GetPrepareParallelRenderingEnabled,涵盖声明、ohos/darwin/windows 平台实现及对应 fuzz 桩、单测用例。Issue number:
#24986
Test & Result:
git diff --check通过,无尾空白/冲突标记。stagingRenderParams_判空路径与 IPC 错误码日志符合预期。CodeCheck:
L0新增用例自检结果