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

Commit 44a9f127 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make Vpn.isAvailable return available, not unavailable"

parents 4efb05a9 8be8e626
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -59,8 +59,7 @@ public class VpnPreferenceController extends PreferenceController {

    @Override
    public boolean isAvailable() {
        // TODO: http://b/23693383
        return mIsSecondaryUser || RestrictedLockUtils.hasBaseUserRestriction(mContext,
        return !RestrictedLockUtils.hasBaseUserRestriction(mContext,
                UserManager.DISALLOW_CONFIG_VPN, UserHandle.myUserId());
    }