Fix Fragment not transparent in Texture render mode (flutter/engine#26446)
This commit is contained in:
@@ -279,6 +279,8 @@ import java.util.Arrays;
|
||||
} else {
|
||||
FlutterTextureView flutterTextureView = new FlutterTextureView(host.getActivity());
|
||||
|
||||
flutterTextureView.setOpaque(host.getTransparencyMode() == TransparencyMode.opaque);
|
||||
|
||||
// Allow our host to customize FlutterSurfaceView, if desired.
|
||||
host.onFlutterTextureViewCreated(flutterTextureView);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user