| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Api call metrics histograms Signed-off-by: blueyouth <bailiang18@huawei.com> Co-Authored-By: Agent Change-Id: I8e122f0c683dd817d133ee3e3bd2ebf8c1a2f5d6 | 2 个月前 | |
TicketNo:DTS0000000000000 Description: Make triggerType required for onKey/offKey/offKeyCommand APIs Refactor ParseAPI26TriggerTypeAndLegacy to return int32_t and report a COMMON_PARAMETER_ERROR when triggerType is missing or out of range ([1, 3]) instead of silently falling back to the legacy key-press path. GetEventInfoAPI26 now aborts subscription when parsing fails. The null/undefined callback guard is moved from UnsubscribeKeyCommand to the off-key entry points offKeyImpl/offKeyCommandImpl, so the validation happens at the public API boundary. NAPI ParseTriggerTypeParameter now treats a missing triggerType as an error (THROWERR_API9) and also throws for out-of-range values, keeping the ArkTS and NAPI behavior consistent. Team:OTHERS Feature or Bugfix:Feature Binary Source:No PrivateCode(Yes/No):No Change-Id: I19883001429c1c87fd431216a5e5da9fad9ff079 Signed-off-by: JustinHu <gchenghu@126.com> Co-Authored-By: Agent | 29 天前 | |
fix: add explicit deps for napi:ace_napi public_external_deps downgrade ace_napi downgraded public_external_deps to external_deps, breaking transitive propagation of node:node_header_notice and libuv:uv. - Add node:node_header_notice to all targets with napi:ace_napi (30 files) because native_api.h/native_node_api.h include node_api.h - Add libuv:uv to targets whose sources include uv.h (4 files) - Add "node" to bundle.json deps.components - ets_runtime:libark_jsruntime not needed (no source includes jsnapi.h) Fixes #7661 Co-Authored-By: Agent Signed-off-by: athends <huwanyong1@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: opencode (glm-5.2) <ai@local> | 20 天前 |