SecondaryDisplay.kt: Remove redundant SurfaceTexture, preventing log spam

This commit is contained in:
OpenSauce04 authored and OpenSauce committed 2025-09-05 16:44:48 +00:00
1 parent 70f9379eef
commit 1830290e55
1 file changed
+1 -4
@@ -23,15 +23,12 @@ class SecondaryDisplay(val context: Context) {
private val vd: VirtualDisplay
init {
val st = SurfaceTexture(0)
st.setDefaultBufferSize(1920, 1080)
val vdSurface = Surface(st)
vd = displayManager.createVirtualDisplay(
"HiddenDisplay",
1920,
1080,
320,
vdSurface,
null,
DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION
)
}