mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix flutter emaultors crash when ini file is not parsed (#22503)
Fixes #22247.
This commit is contained in:
parent
ac9dc5745e
commit
481cb77a4c
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user