换行标签加固:onOnsetSwitch 落锤即写 lastConfirmedLabel(S1)——预置5s过期曾致新行开在但沿用旧标签,屏幕观感=没换人(S2案预置16s丢弃实锤);此后partial无论多晚到,新行都挂新标
This commit is contained in:
parent
0fbeb8c893
commit
b6d4efe3f4
|
|
@ -1701,6 +1701,10 @@ class MainActivity : AppCompatActivity() {
|
|||
val bottom = list.lastOrNull() ?: return
|
||||
pendingOnsetLabel = label
|
||||
pendingOnsetLabelAt = SystemClock.elapsedRealtime()
|
||||
// 换行标签不依赖"partial 及时到达"(2026-09-16:预置 5s 过期曾致新行
|
||||
// 沿用旧标签,观感=没换人——实锤 S2 案预置 16s 后丢弃):落锤即写
|
||||
// 最近确认说话人,此后任何时刻开的新行都挂新标
|
||||
lastConfirmedLabel = label
|
||||
if (!bottom.open) return // 底行已封:下一行自然消费预置标签
|
||||
val busy = bottom.sentences.any { !it.finalized }
|
||||
if (busy) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue