Make sure to opt hcpp tests into using hcpp (#162906)

🤦
This commit is contained in:
Jonah Williams 2025-02-07 15:17:06 -08:00 committed by GitHub
parent 7c894c091f
commit 045fb9989c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -127,9 +127,9 @@ Future<void> runAndroidEngineTests({required ImpellerBackend impellerBackend}) a
}
const String kSurfaceControlMetadataDisabled =
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="false" />';
'<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="false" />';
const String kSurfaceControlMetadataEnabled =
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="true" />';
'<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="true" />';
String _impellerBackendMetadata({required String value}) {
return '<meta-data android:name="io.flutter.embedding.android.ImpellerBackend" android:value="$value" />';

View File

@ -25,7 +25,7 @@ final class MainApp extends StatelessWidget {
const MainApp({super.key});
// This should appear as the yellow line over a blue box. The
// red box should not be visible unless the platform view has not loaded yet.
// green box should not be visible unless the platform view has not loaded yet.
@override
Widget build(BuildContext context) {
return const MaterialApp(
@ -33,7 +33,7 @@ final class MainApp extends StatelessWidget {
home: Stack(
alignment: AlignmentDirectional.center,
children: <Widget>[
SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.red)),
SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.green)),
SizedBox(
width: 200,
height: 200,