(SHIFT) Squashed revert of restricted network changes

-----

Revert "Support per-UID VPN lockdown policy"

    This reverts commit cfd9c1e4c8ea855409db5a1ed8f84f4287a37d75.

Revert "Skip firewall rules for stopped users"

    This reverts commit 64cef56e1c6890e7b205411ef49a58bf6fbc6d93.

Revert "Use POLICY_REJECT_ALL instead of allowlist"

    This reverts commit b83a568fa1d54926fcc8a5d555cf1645d5ee127a.

Revert "NPMS: Check if UID is disallowed by transports"

    This reverts commit 714095c893a93dd60086b935977727672ac02ddc.

Revert "Track and send allowed transports to Connectivity"

    This reverts commit 5a0dc91a17ee20678eaf5fcb92df25b895d839c5.

Revert "Do not consider transports for restricted mode"

    This reverts commit e91d98e3327a805d1914e7fb1617f3ac081c0689.

Revert "fixup! fw/b: Add support for allowing/disallowing apps on cellular, vpn and wifi networks"

    This reverts commit 30e26904e8a6ec8f5b8a17665b6b0a83e3cc503f.

Revert "Add custom handling for backup/restore of UIDS_ALLOWED_ON_RESTRICTED_NETWORKS"

    This reverts commit 195e966ccbb62356c09da4dc0002e53c895fafec.

Revert "Migrate from network isolation to restricted networking mode"

    This reverts commit 31dd5e47e4f2011bf00a817c59d74fc2b178690b.

Revert "Clear calling identity when setting restricted networking mode UID firewall rules"

    This reverts commit 0616e5eace2432bd740cbd50f4d93fbe9d0e5259.

Revert "Implement backup/restore for network policy"

    This reverts commit 60d0ec93c9f5ac3aeffb03bc652af50a9bf70ea8.

Revert "Split network policy XML parsing into read/write helper functions"

    This reverts commit 56c088d788680eb4612ea0132a29346d494671ff.

Revert "NetworkPolicyManager: Add POLICY_REJECT_ALL constant"

    This reverts commit 93b336b5b6ddedac9a30072db675d831f6632ea5.

Revert "fw/b: Add support for allowing/disallowing apps on cellular, vpn and wifi networks"

    This reverts commit 2173bc357b52348dd05b730cd8f05955a4752bec.

Revert "Restricted Networking Mode fixes"

    This reverts commit 7acd863eb2cfb15f6021216fc621f9dd73446476.

Revert "Remove removed package uids from Restricted Mode's uid allowlist"

    This reverts commit 6b198006fe52461d281d231471354e8a71e30b78.

Revert "Add Restricted Mode uid allowlist setting observer to NetworkPolicyManagerService"

    This reverts commit 8d8f7928c49b1a4ef2b8246fa2d95f6237360e65.

Revert "Sync hasRestrictedModeAccess with PermissionMonitor in NetworkPolicyManagerService"

    This reverts commit 68012fc7766fa4918e31f0a6f0b4190f5fe6f8b0.

-----

Change-Id: I58f6f315e9f88851176717e8ddc74e1500072cc1
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
5 files changed