mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Background: the transponder panel CW decoder (added by the upstream fork author) used a lightweight Kotlin Bayesian engine (core/domain/cw, kept untouched as a fallback). This change makes the panel use the Morse Expert engine ported in 4.5.0, so both CW entry points share the same decoder with a live waterfall. Changes: - New mini layout cw_panel_main.xml (waterfall 80dp + decoded text, status line hidden but ID kept for controller lookup) - MainActivity.onCreate overload with applyImmersive flag; panel binds with false so the host window system bars are not touched - CwDecoderPanel now embeds the mini layout via AndroidView and drives the MainActivity controller: start/stop/reset map to the engine, lifecycle follows panel expand (start) / collapse (release mic) - radar module now depends on feature:cw (+ constraintlayout 2.2.1, same as cw) for layout + controller reuse - What's new rewritten in EN/TR/ZH for this release only Verified: :feature:radar:compileDebugKotlin and :app:compileDebugKotlin BUILD SUCCESSFUL locally; check_strings.py OK (7 files, no bare apostrophes).
15 lines
502 B
Kotlin
15 lines
502 B
Kotlin
plugins {
|
|
alias(libs.plugins.convention.featurePlugin)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.rtbishop.look4sat.feature.radar"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":feature:mutual"))
|
|
// CW 解码面板: 复用 feature:cw 的 Morse Expert 引擎(布局 cw_panel_main + MainActivity 控制器)
|
|
implementation(project(":feature:cw"))
|
|
// 与 feature:cw 一致(控制器按 ID 递归查找 ConstraintLayout 视图)
|
|
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
|
|
} |