From ca9bc1488ba30f8328d12525975584a8a685dd20 Mon Sep 17 00:00:00 2001 From: Brian Clifton Date: Mon, 10 Apr 2023 23:23:05 -0700 Subject: [PATCH] Enable BraveVPN and BraveVPNLinkSubscriptionAndroidUI by default Fixes https://github.com/brave/brave-browser/issues/29612 --- components/brave_vpn/common/brave_vpn_utils_unittest.cc | 2 +- components/brave_vpn/common/features.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/brave_vpn/common/brave_vpn_utils_unittest.cc b/components/brave_vpn/common/brave_vpn_utils_unittest.cc index 164e3d6a7795..211be3fb1887 100644 --- a/components/brave_vpn/common/brave_vpn_utils_unittest.cc +++ b/components/brave_vpn/common/brave_vpn_utils_unittest.cc @@ -217,7 +217,7 @@ TEST(BraveVPNUtilsUnitTest, IsBraveVPNEnabled) { } TEST(BraveVPNUtilsUnitTest, FeatureTest) { -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) +#if !BUILDFLAG(IS_LINUX) EXPECT_TRUE(brave_vpn::IsBraveVPNFeatureEnabled()); #else EXPECT_FALSE(brave_vpn::IsBraveVPNFeatureEnabled()); diff --git a/components/brave_vpn/common/features.cc b/components/brave_vpn/common/features.cc index 56c0d121b86a..a8a22017563b 100644 --- a/components/brave_vpn/common/features.cc +++ b/components/brave_vpn/common/features.cc @@ -14,7 +14,7 @@ namespace features { BASE_FEATURE(kBraveVPN, "BraveVPN", -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) +#if !BUILDFLAG(IS_LINUX) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT @@ -23,7 +23,7 @@ BASE_FEATURE(kBraveVPN, BASE_FEATURE(kBraveVPNLinkSubscriptionAndroidUI, "BraveVPNLinkSubscriptionAndroidUI", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); #if BUILDFLAG(IS_WIN) BASE_FEATURE(kBraveVPNDnsProtection,