Skip to content

Commit 045fb99

Browse files
author
Jonah Williams
authored
Make sure to opt hcpp tests into using hcpp (flutter#162906)
🤦
1 parent 7c894c0 commit 045fb99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dev/bots/suite_runners/run_android_engine_tests.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ Future<void> runAndroidEngineTests({required ImpellerBackend impellerBackend}) a
127127
}
128128

129129
const String kSurfaceControlMetadataDisabled =
130-
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="false" />';
130+
'<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="false" />';
131131
const String kSurfaceControlMetadataEnabled =
132-
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="true" />';
132+
'<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="true" />';
133133

134134
String _impellerBackendMetadata({required String value}) {
135135
return '<meta-data android:name="io.flutter.embedding.android.ImpellerBackend" android:value="$value" />';

dev/integration_tests/android_engine_test/lib/hcpp/platform_view_main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ final class MainApp extends StatelessWidget {
2525
const MainApp({super.key});
2626

2727
// This should appear as the yellow line over a blue box. The
28-
// red box should not be visible unless the platform view has not loaded yet.
28+
// green box should not be visible unless the platform view has not loaded yet.
2929
@override
3030
Widget build(BuildContext context) {
3131
return const MaterialApp(
3232
debugShowCheckedModeBanner: false,
3333
home: Stack(
3434
alignment: AlignmentDirectional.center,
3535
children: <Widget>[
36-
SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.red)),
36+
SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.green)),
3737
SizedBox(
3838
width: 200,
3939
height: 200,

0 commit comments

Comments
 (0)