fix: remove alpha 0.999 hack from mpv SurfaceView

No longer needed since Flutter uses RenderMode.texture (TextureView),
which composites above SurfaceView naturally without overlay conflicts.
This commit is contained in:
edde746
2026-03-01 04:02:56 +01:00
parent d0f2122944
commit 54ceee18a6
@@ -211,9 +211,6 @@ class MpvPlayerCore(private val activity: Activity) :
android.widget.FrameLayout.LayoutParams.MATCH_PARENT,
android.widget.FrameLayout.LayoutParams.MATCH_PARENT
)
// Keep video composited in the normal view hierarchy (avoid hardware overlay promotion)
// so Flutter controls reliably draw above it in release builds.
alpha = 0.999f
holder.addCallback(this@MpvPlayerCore)
// Critical: Ensure SurfaceView renders BEHIND Flutter's view