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

Skip to content
Commit fec4a192 authored by Iván Budnik's avatar Iván Budnik
Browse files

Remove spurious calls to the framework when setting selected device

Previously, every new MediaDevice created in InfoMediaManager would
needlessly obtain the current active routing session.

Also, this change removes a potential race condition between the state
of the routing session used for creating the routes list and the state
of the routing session used for finding out the selected device.

Bug: 330300516
Test: Manual.
Test: atest com.android.settingslib.media
Change-Id: I4018dbee599d1ebab6e4ac83ce92e55929494565
parent 4e98b884
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