fix: ABORT marks old turn as blocked, not new turn

acceptTurn() runs before ABORT handler, updating currentTurn to new value.
ABORT then set blockedTurn = currentTurn (new turn), causing all audio frames
for the new turn to be silently dropped. UI stuck at THINKING/ANSWERING.

Fix: save oldTurn before acceptTurn; ABORT marks oldTurn as blocked.
listen_start ABORT explicitly clears blockedTurn (no blocking).

Version 0.3.3
This commit is contained in:
zenord
2026-10-11 19:34:33 +08:00
parent e90b073e68
commit 885bb3f2db
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ android {
applicationId 'com.gorios.lanvoice'
minSdk 26
targetSdk 34
versionCode 5
versionName '0.3.1'
versionCode 6
versionName '0.3.3'
ndk { abiFilters 'arm64-v8a' }
}
compileOptions { sourceCompatibility JavaVersion.VERSION_17; targetCompatibility JavaVersion.VERSION_17 }