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

Skip to content
Commit 5fac9c6a authored by Yung Ti Su's avatar Yung Ti Su
Browse files

audioflinger: clean previously opened input selectedDeviceId if retrying

selectedDeviceId is not cleaned when retrying open input.
and will add this selectedDeviceId into input routing.
Which will cause getDeviceForInputSource() not doing
mEngine->getDeviceForInputSource() but only return
route->mDeviceDescriptor->type() and failed to route to
the correct device.
Test: self-test routing is corrected.

Bug:79332409
Test: routing is corrected.
Change-Id: Ia85c773f3549befb929178469116dc2d4e4945ad
parent bf2e1e8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment