Skip to content

Consider showing Emulator names against running devices #1983

@DanTup

Description

@DanTup

flutter devices gets device names from the device, which results in Emulators not showing the same name as in Android Studio of flutter emulators:

flutter/flutter#11850

Recently we improved flutter emulators to show matching names to Android Studio and surfaced these better in VS Code. However there's still confusion that you launch an emulator and then its name becomes "Android SDK built for x86".

Since as part of the Emulator names change, we made VS Code figured out which emulators match which devices (so we can hide Emulators if they're already running as devices) that means we also know the "Emulator Name" for running devices that are Emulators. Instead of just hiding the emulator, we could fold its name into the device, resulting in showing the "good" name for the running devices.

We could potentially do this on the Flutter side, but it would mean making flutter devices slower (it'd need to connect to each device to get the AVD name, then enumerate emulators and read their ini files).

  • Currently only shows in picker, but should be consistent (status bar etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions