UsbAlsaManager: wait for device address on usb added
Currently, when a USB audio device is attached, the framework scans all available cards in `/proc/asound/cards` and uses this information to further query and determine if the corresponding device is registered in `/dev/snd/`. However, there is some delay in the update of available cards, so in this CL we wait until the scan results actually include some card that has the corresponding address. Bug: 378826805 Flag: com.android.server.usb.flags.wait_for_alsa_scan_results_if_has_audio_interface Test: plug usb audio device multiple times Change-Id: I718e5f7874856f0e0037459b29ebe1238e129c46
Loading
Please register or sign in to comment