summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/device-notifications.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/device-notifications.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/device-notifications.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/device-notifications.patch b/patches/www-client/chromium-73.0.3683.75/device-notifications.patch
new file mode 100644
index 0000000..d428e7e
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/device-notifications.patch
@@ -0,0 +1,16 @@
+description: disable device discovery notifications by default
+author: Michael Gilbert <mgilbert@debian.org>
+bug-debian: http://bugs.debian.org/856571
+
+--- a/chrome/browser/printing/cloud_print/privet_notifications.cc
++++ b/chrome/browser/printing/cloud_print/privet_notifications.cc
+@@ -229,8 +229,7 @@ void PrivetNotificationService::DeviceCa
+ // static
+ bool PrivetNotificationService::IsEnabled() {
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+- return !command_line->HasSwitch(
+- switches::kDisableDeviceDiscoveryNotifications);
++ return command_line->HasSwitch(switches::kEnableDeviceDiscoveryNotifications);
+ }
+
+ // static