Skip to content

Commit

Permalink
Fix issue with guide test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc007 committed Nov 30, 2019
1 parent 3f81cdd commit ca8816b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/daemon_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ DaemonEmulator loadDaemonEmulator(Map<String, dynamic> emulator) {

DaemonDevice loadDaemonDevice(Map<String, dynamic> device) {
// hack for CI testing.
// Emulator is reporting as real device.
// Platform is reporting as 'android-arm' instead of 'android-x86', etc...
if (platform.environment['CI'] == 'true') {
// x64 emulator is reporting as real device.
// Platform is reporting as 'android-arm' instead of 'android-x64', etc...
if (platform.environment['CI'] == 'true' && device['platform'] == 'android-arm') {
return DaemonDevice(
device['id'],
device['name'],
Expand Down

0 comments on commit ca8816b

Please sign in to comment.