
In case where only one device is connected, we want to display its name in the menu. For that we will need more than the number of known/connected devices, so change the function to return an array of device infos instead. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2340