Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ced7367a authored by Wenyu Zhang's avatar Wenyu Zhang
Browse files

Activate hot plugged device

Activate hot plugged audio input device, to match the output device
behavior.

This is a reland of http://ag/29970464 with slight modification that
the applyDefaultSelectedTypeToAllPresets is being called at the
beginning of onAudioDevicesAdded to make sure the device list is fully
available when mAudioManager.getDevices API is called.

Change-Id: I92196d6bb66424cd86e2dd705ad06a0f97d061bd
Bug: b/355684672, b/374174565
Test: InputRouteManagerTest
Flag: com.android.media.flags.enable_audio_input_device_routing_and_volume_control
parent 3f72bb5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment