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

Skip to content
Unverified Commit 25ed46d0 authored by Oliver Scott's avatar Oliver Scott Committed by Michael Bestas
Browse files

Clear calling identity when setting restricted networking mode UID firewall rules

* NetworkManager setFirewallUidRule checks that the caller is system uid

* Public service entry points are already protected with MANAGE_NETWORK_POLICY permission so simply clear calling identity around NetworkPolicyManagerService setUidFirewallRule() call to resolve crash for secondary users during settings change.

Change-Id: I2fb22e77c0afa67acfbb5b9d57173df5aefb0d57
parent ae36a827
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