mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 14:26:18 +00:00
17 lines
670 B
Diff
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
|