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

Commit a3630a52 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Lucas Lin
Browse files

Add some comments in isAlwaysOnVpnLockdownEnabled

Bug: 141621373
Test: Build pass.

Change-Id: Ie063d9ad35fd703ad376e993345e7158c6082b87
Merged-In: Ib9df71192937164ff95ce564195d5d68508ec69d
parent 07dbadcd
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();