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

Commit 06a30e5c authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Remove INTERACT_ACROSS_USERS_FULL for NetworkStack

Replace with INTERACT_ACROSS_USERS, which is needed to send the
ACTION_NETWORK_CONDITIONS_MEASURED broadcast.

Also cleanup some non-privileged permissions that were added to the
priv-app file.

Test: built, booted, broadcast and captive portal login work
Bug: 123846255
Change-Id: I3c97c166e80c19bf57fa047709c8b91fca75d635
parent 4abf31ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@
    <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
    <!-- Signature permission defined in NetworkStackStub -->
    <uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
    <!-- Launch captive portal app as specific user -->
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
    <!-- Send latency broadcast as current user -->
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
    <uses-permission android:name="android.permission.NETWORK_STACK" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <application