docs: record Kotlin layer guard fix
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled

This commit is contained in:
OpenAI Codex
2026-09-03 08:42:25 +08:00
parent 7a1ed80b0f
commit 0ab94c4eab

View File

@@ -18,3 +18,7 @@ cd /mnt/sda1/MapLibreParticleLab/platform/android
随后以 `adb -s 192.168.1.146` 安装并验证 T1--T10;在用户设备验收前不得判 PASS。
代码/文档提交:`de665212cac9e3bab771077f38e55604e4c28694`(`fix: correct particle time-window reuse state`)。本报告更新后的最终文档提交与 `origin/particle/main` HEAD 见本次收尾提交。
## Kotlin nullable Layer 编译修正
Android Kotlin 编译发现 `Layer?` 无法通过中间 `rejectReason` smart cast。`setTimeMix()` 现先直接检查 `layer == null`,记录 `MIX_REJECTED reason=LAYER_NOT_READY` 后 return;其余 STYLE_LOADING、DISABLED、TIME_WINDOW_OFF guards 同样在 `timeMix` 赋值前 return。未使用 `!!` 或安全调用静默跳过。修复提交:`7a1ed80b0f870ff8c01b27d56f7890e53992b79e`。