2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-23 06:26:17 +00:00
repo/testing/chromium/patches/device-notifications.patch

17 lines
670 B
Diff

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