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

Skip to content
Commit eaf94cf7 authored by Jeremy Wu's avatar Jeremy Wu
Browse files

Floss: disconnect all profiles when media profiles are cleared

We used to disconnect only media profiles when there is an error during
media connection.

In this CL, we disconnect all enabled profiles when a critical media
profile is disconnected.

This also makes the `disconnect` function call-able as an entry point
because while it may not disconnect all media profiles at once, it
will disconnect all profiles in the end after some iterations.

Bug: 285391400
Tag: #floss
Test: cq

Change-Id: I2edb9f74a7b71800178336b6dae80a80d3e5db5a
parent 9e9b9300
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