fix: pair front camera analysis with a local drained preview surface

This commit is contained in:
zenord
2026-10-13 18:54:59 +08:00
parent 4010675f8c
commit 688bb7d6b3
20 changed files with 453 additions and 24 deletions
+5
View File
@@ -0,0 +1,5 @@
package android.view
class Surface(val texture: android.graphics.SurfaceTexture) {
var released=false
fun release() {check(!released);released=true}
}