Try golden-testing on a Mokey (bringup: true), retry on an emulator (#163029)

Towards https://github.com/flutter/flutter/issues/162362 (see if retries
help VD on an emulator).
Towards https://github.com/flutter/flutter/issues/163025 (see if we can
golden-test on a device).

May the odds be in our favor.
This commit is contained in:
Matan Lurey
2025-02-10 17:46:24 -08:00
committed by GitHub
parent af3c91045b
commit 7afc8557a4
8 changed files with 115 additions and 19 deletions

View File

@@ -49,6 +49,14 @@ class NativeDriverSupportPlugin :
val versionMap = mapOf("version" to Build.VERSION.SDK_INT)
result.success(versionMap)
}
"is_emulator" -> {
val isEmulator =
when {
Build.MODEL.contains("gphone") -> true
else -> false
}
result.success(mapOf("emulator" to isEmulator))
}
"ping" -> {
result.success(null)
}