Commit 481cb77a authored by Tran Huy Phuc's avatar Tran Huy Phuc Committed by Danny Tuppeny

Fix `flutter emaultors` crash when ini file is not parsed (#22503)

Fixes #22247.
parent ac9dc574
......@@ -38,7 +38,7 @@ class AndroidEmulator extends Emulator {
String get manufacturer => _prop('hw.device.manufacturer');
@override
String get label => _properties['avd.ini.displayname'];
String get label => _prop('avd.ini.displayname');
String _prop(String name) => _properties != null ? _properties[name] : null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment