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

Skip to content
Commit 6d51e19e authored by Danny Baumann's avatar Danny Baumann
Browse files

Fix setting connection status when switching profiles via 3rd party

apps.

For switching Wifi and BT, the respective permissions are needed.
Currently, while switching profiles, the caller's identity isn't
cleared, thus the switching action runs under the permission level of
the caller, which is wrong, because the caller shouldn't need to care
about the side effects of profile switching.
To fix this, clear calling identity before profile switching. In order
to now allow clients to pass in profile subclasses with malicious code
in it (and as we don't properly support subclassing the profile classes
anyway), make the profile classes final.
parent d16dc993
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