Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 38dad8f

Browse files
author
Emmanuel Garcia
committed
add missing view_type
1 parent d7942eb commit 38dad8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/MemoryLeakTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public void platformViewHybridComposition_launchActivityFinishAndLaunchAgain() t
2929
Intent intent = new Intent(Intent.ACTION_MAIN);
3030
intent.putExtra("scenario_name", "platform_view");
3131
intent.putExtra("use_android_view", true);
32+
intent.putExtra("view_type", PlatformViewsActivity.TEXT_VIEW_PV);
3233

3334
activityRule.launchActivity(intent);
3435
}

testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TestActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public void onFlutterUiDisplayed() {
8484
test.put("name", "animated_color_square");
8585
}
8686
test.put("use_android_view", launchIntent.getBooleanExtra("use_android_view", false));
87+
test.put("view_type", launchIntent.getStringExtra("view_type"));
8788
getScenarioParams(test);
8889
channel.invokeMethod("set_scenario", test);
8990
}

0 commit comments

Comments
 (0)