aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-services_device_public_cpp_device__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-services_device_public_cpp_device__features.cc')
-rw-r--r--devel/electron37/files/patch-services_device_public_cpp_device__features.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-services_device_public_cpp_device__features.cc b/devel/electron37/files/patch-services_device_public_cpp_device__features.cc
new file mode 100644
index 000000000000..c847147bab2f
--- /dev/null
+++ b/devel/electron37/files/patch-services_device_public_cpp_device__features.cc
@@ -0,0 +1,11 @@
+--- services/device/public/cpp/device_features.cc.orig 2025-06-30 07:04:30 UTC
++++ services/device/public/cpp/device_features.cc
+@@ -140,7 +140,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
+
+ // Controls whether Chrome will try to automatically detach kernel drivers when
+ // a USB interface is busy.
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kAutomaticUsbDetach,
+ "AutomaticUsbDetach",
+ base::FEATURE_DISABLED_BY_DEFAULT);