47f9722185a2afccb66e7a31cb06a91520fec54b
This change ensures that we first set the default buffer size on the underlying SurfaceTexture before creating the Surface for it. This fixes a bug that only occurs on Android devices running 28 or older: see https://github.com/flutter/flutter/issues/141068. This also removes some unnecessary init code and cleans up tests.
Resize the RenderTarget before creating and passing its Surface to the VirtualDisplay (flutter/engine#49619)
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%