Upgrade WeChat automation and incoming call decisions#7
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d0e85a05a0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (hasNetworkResultMarker(snapshot)) { | ||
| score -= 50 | ||
| reasons += "network_marker" |
There was a problem hiding this comment.
Stop penalizing exact contact hits for network section marker
Subtracting 50 points when displayName == normalizedName and the page contains "搜索网络结果" causes valid local contact matches to be rejected in common WeChat result layouts that show both local hits and a network-results section on the same screen. In that scenario the score drops from 80 (title_id + exact_title + clickable) to 30, so accepted becomes false and the automation can fail with no_contact_result even though the target contact is present.
Useful? React with 👍 / 👎.
Summary
Verification
./build.bat :app:testDebugUnitTest✅ 309 tests, 0 failures./build.bat :app:lintDebug✅./build.bat :app:assembleRelease✅docs/app-release.apkSHA-256:29072C0BC5F951AB369FE282BC27DB14E53E8CA08EDF27AA1104B36FA8143718Release
1.9.0162.16 MB