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

Commit 19f09b23 authored by Lucas Lin's avatar Lucas Lin Committed by Android (Google) Code Review
Browse files

Merge "Add some comments in isAlwaysOnVpnLockdownEnabled" into rvc-dev

parents e78f4abb a3630a52
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5736,6 +5736,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();