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

Skip to content
Commit 4752ce9b authored by Anton Potapov's avatar Anton Potapov
Browse files

Move media output state logic to the interactor.

Apparently, there is a defference in active sessions returned by the
MediaSessionManager when starting a call and getting one. This caused
the panel to correctly determine the device when starting a call, but
not when getting one.

Now Media Output Component state is completely detached from the media
session when there is an ongoing call.

Flag: com.android.systemui.new_volume_panel
Fixes: 342976548
Test: manual on the phone
Test: atest MediaOutputComponentInteractorTest
Test: atest MediaOutputViewModelTest
Change-Id: Ibeda4a7ac10053314e6e436fc5a458429d9293d7
parent db2b5f08
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