mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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.