fix: disable stream use case

This commit is contained in:
zhoubinjia committed 2026-07-13 19:11:09 +08:00
1 parent 70b82fdffa
commit 2c5f119e17
1 file changed
+2 -2
@@ -2018,7 +2018,7 @@ class Camera2Controller(private val context: Context) {
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
/*if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
val streamUseCase = when (outputType) {
CameraOutputType.PREVIEW ->
CameraMetadata.SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW.toLong()
@@ -2042,7 +2042,7 @@ class Camera2Controller(private val context: Context) {
"OutputConfiguration streamUseCase=${outputType.name} unsupported; using DEFAULT"
)
}
}
}*/
}
}