fix and re-land "re-enable android_view_test (#54214)" (#54312)

This commit is contained in:
Chris Yang
2020-04-09 11:03:02 -07:00
committed by GitHub
parent d390f4d9c6
commit 13052b10e4
4 changed files with 24 additions and 8 deletions

View File

@@ -105,6 +105,13 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
child: const Text('PLAY FILE'),
onPressed: () { playEventsFile(); },
),
Expanded(
child: RaisedButton(
key: const ValueKey<String>('back'),
child: const Text('BACK'),
onPressed: () { Navigator.pop(context); },
),
),
],
),
],

View File

@@ -84,7 +84,7 @@ class WindowManagerBodyState extends State<WindowManagerBody> {
});
}
try {
await viewChannel.invokeMethod<void>('showAlertDialog');
await viewChannel.invokeMethod<void>('showAndHideAlertDialog');
setState(() {
lastTestStatus = _LastTestStatus.success;
});