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

Commit 9465ee2e authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8253222 from a4b9d8e9 to sdk-release

Change-Id: I5b201f1cf75f1fa78877fef13cd23ae7d7b1f193
parents d4929dab a4b9d8e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ java_library {
        "NetworkStackApi31Shims",
        "framework-bluetooth",
        "framework-connectivity",
        "framework-connectivity-tiramisu.stubs.module_lib",
        "framework-connectivity-t.stubs.module_lib",
        "framework-tethering",
    ],
    sdk_version: "module_current",
+2 −2
Original line number Diff line number Diff line
@@ -25,10 +25,10 @@ import com.android.networkstack.apishim.common.UnsupportedApiLevelException;
 */
public class Ikev2VpnProfileShimImpl<T> implements Ikev2VpnProfileShim<T> {
    /**
     * @see Ikev2VpnProfile#getRequiresInternetValidation(boolean)
     * @see Ikev2VpnProfile#isInternetValidationRequired(boolean)
     */
    @Override
    public boolean getRequiresInternetValidation(T profile)
    public boolean isInternetValidationRequired(T profile)
            throws UnsupportedApiLevelException {
        throw new UnsupportedApiLevelException("Only supported from API level 33.");
    }
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import com.android.networkstack.apishim.common.NetworkAgentConfigShim;
 */
public class NetworkAgentConfigShimImpl implements NetworkAgentConfigShim {
    @Override
    public boolean getVpnRequiresValidation() {
    public boolean isVpnValidationRequired() {
        return false;
    }
}
+3 −3
Original line number Diff line number Diff line
@@ -44,10 +44,10 @@ public class Ikev2VpnProfileShimImpl
    }

    /**
     * @see Ikev2VpnProfile#getRequiresInternetValidation()
     * @see Ikev2VpnProfile#isInternetValidationRequired()
     */
    @Override
    public boolean getRequiresInternetValidation(@NonNull final Ikev2VpnProfile profile) {
        return profile.getRequiresInternetValidation();
    public boolean isInternetValidationRequired(@NonNull final Ikev2VpnProfile profile) {
        return profile.isInternetValidationRequired();
    }
}
+2 −2
Original line number Diff line number Diff line
@@ -46,11 +46,11 @@ public class NetworkAgentConfigShimImpl
    }

    @Override
    public boolean getVpnRequiresValidation() {
    public boolean isVpnValidationRequired() {
        if (null == mNetworkAgentConfig) {
            return false;
        } else {
            return mNetworkAgentConfig.getVpnRequiresValidation();
            return mNetworkAgentConfig.isVpnValidationRequired();
        }
    }

Loading