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

Skip to content
Commit 31ed9bec authored by Hall Liu's avatar Hall Liu
Browse files

Use AudioManager#getDevices in WiredHeadsetManager

AudioManager#getDevicesForStream returns only speakerphone when a call
is in progress and speakerphone is turned on. This prevents detection of
a wired headset being plugged in. Now uses AudioManager#getDevices
instead, which returns all connected devices.

Change-Id: I3bdaca6d77b2444b47971b72a3c7a8450eb50178
Fixes: 28025980
parent 7a7a344d
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