| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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 | 1 个月前 | |
多模输入异步任务添加taskname Signed-off-by: zyf1992 <zhengyafei1@h-partners.com> | 6 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 6 个月前 |