• Todd Volkert's avatar
    Add initial list of known Android hardware (#10249) · aa9c7826
    Todd Volkert authored
    Our emulator detection was based on a simple heuristic that was
    failing for the Samsung Galaxy S8. Any heuristic is flawed since
    Android devices can report whatever they want to adb, but this
    change attempts to tighten the detection by listing known models
    (by their ro.hardware property). Again, these values could be
    spoofed by emulator system images, but it's less likely to be
    an issue than with our previous (and fall-back) heuristic.
    
    Fixes #10203
    Related: #10248
    aa9c7826
android_device_test.dart 9.81 KB