mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
ef663d3751e4ea882cb6be154f8dd5feafa9bf17
IntentParamParser::Build now applies the same rule-1 filter and (moduleName, abilityName) sort as IntentFilterUtil::FilterGeneric, then picks the sorted vector's last element as the single representative. All param fields come from that one representative (moduleName, abilityName, executeMode, decoratorType), so registration and execution end up choosing the same candidate for a given (bundleName, intentName). wantParam.options overridess still apply on top of representative fields. PickActiveCandidates and per-field Resolve* helpers are removed since representative selection replaces them. FilterGeneric is reused rather than duplicating rule-1 logic in the executor. Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com> 🤖 AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%] Co-authored-by: claude (glm-5.2) <ai@local>
Description
暂无描述
Languages
C++
98.1%
C
1.5%
JavaScript
0.2%
TypeScript
0.1%