diff options
| author | 2024-12-06 00:43:03 +0000 | |
|---|---|---|
| committer | 2024-12-06 00:43:03 +0000 | |
| commit | 4835ed1e2290114b415b45ca6c7c2f1bdaa48a16 (patch) | |
| tree | ec3a60dc01dbbff2f7368f873fd329722f849d1a /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | b08834b5b2ff75d0b3bac99e2c43d8a40634670c (diff) | |
Only activate device that is not existed previously
Since onAudioDevicesAdded is called not only when new device is hot
plugged, but also when the switcher dialog is opened, adding a check to
make sure only activate if the device does not exist previously.
Change-Id: Icf9756c38ed78be7898e5094f62627025bdb253c
Bug: b/379798051, b/355684672
Test: InputRouteManagerTest
Flag: com.android.media.flags.enable_audio_input_device_routing_and_volume_control
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions