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

Commit 38953017 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Add some comments in isAlwaysOnVpnLockdownEnabled" am:...

Merge "Merge "Add some comments in isAlwaysOnVpnLockdownEnabled" am: 4db4933c am: 288837ff" into rvc-dev-plus-aosp am: 5f9f81bb am: f78b440a

Change-Id: Ieb2d657397884895d4d5f58cde68173cd476cc1a
parents 876ceca8 f78b440a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5732,6 +5732,10 @@ public class DevicePolicyManager {
        throwIfParentInstance("isAlwaysOnVpnLockdownEnabled");
        if (mService != null) {
            try {
                // Starting from Android R, the caller can pass the permission check in
                // DevicePolicyManagerService if it holds android.permission.MAINLINE_NETWORK_STACK.
                // Note that the android.permission.MAINLINE_NETWORK_STACK is a signature permission
                // which is used by the NetworkStack mainline module.
                return mService.isAlwaysOnVpnLockdownEnabled(admin);
            } catch (RemoteException e) {
                throw e.rethrowFromSystemServer();