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

Commit 5c6ba1f2 authored by Motomu Utsumi's avatar Motomu Utsumi
Browse files

Revert "Make the 'NETWORK_FACTORY' permission privileged"

Revert submission 34537634-network-factory-permission-update

Reason for revert: We have changed the solution and new solution (ag/34880677, ag/34882435) is merged

Reverted changes: /q/submissionid:34537634-network-factory-permission-update

Change-Id: Iaa5f3976d98edde251a399c65c93ae934f0d2e74
parent d2e58a4b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -70,14 +70,6 @@ flag {
    bug: "306313287"
}

flag {
  name: "update_network_factory_protection_level"
  is_exported: false
  namespace: "android_core_networking"
  description: "Flag for change to NETWORK_FACTORY permission to include priviliged"
  bug: "431500580"
}

flag {
  name: "create_app_specific_network_permission"
  namespace: "android_core_networking"
+1 −6
Original line number Diff line number Diff line
@@ -2334,12 +2334,7 @@
    <!-- @SystemApi @hide Allows applications to register network factory or agent -->
    <permission android:name="android.permission.NETWORK_FACTORY"
                android:protectionLevel="signature|role"
                android:featureFlag="!android.net.platform.flags.update_network_factory_protection_level"/>
    <!-- @SystemApi @hide Allows applications to register network factory or agent -->
    <permission android:name="android.permission.NETWORK_FACTORY"
                android:protectionLevel="signature|privileged|role"
                android:featureFlag="android.net.platform.flags.update_network_factory_protection_level" />
                android:protectionLevel="signature|role" />
    <!-- @SystemApi @hide Allows applications to register a NetworkAgent for its own use.
         <p>Such networks are not available to other applications on the device unless they have
+0 −1
Original line number Diff line number Diff line
@@ -98,6 +98,5 @@
        <permission name="android.permission.OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW"/>
        <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" />
        <permission name="android.permission.SET_UNRESTRICTED_GESTURE_EXCLUSION" />
        <permission name="android.permission.NETWORK_FACTORY" />
    </privapp-permissions>
</permissions>
+0 −4
Original line number Diff line number Diff line
@@ -725,8 +725,4 @@ applications that come with the platform
    <privapp-permissions package="com.android.wm.shell">
        <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" />
    </privapp-permissions>

    <privapp-permissions package="com.android.phone">
        <permission name="android.permission.NETWORK_FACTORY" />
    </privapp-permissions>
</permissions>