Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: ios/chrome/common/physical_web/physical_web_scanner.mm

Issue 2443733002: Suppress the Bluetooth prompt when Chrome is launched with BT disabled (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/common/physical_web/physical_web_scanner.mm
diff --git a/ios/chrome/common/physical_web/physical_web_scanner.mm b/ios/chrome/common/physical_web/physical_web_scanner.mm
index 4fa754803e9bdbb6bf2fcf445e4dc4bcb3980e41..19c7df7e2898a93382ee07eed9e6e4122e3b5df3 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.mm
+++ b/ios/chrome/common/physical_web/physical_web_scanner.mm
@@ -109,7 +109,10 @@ enum BeaconType {
pendingRequests_.reset([[NSMutableArray alloc] init]);
centralManager_.reset([[CBCentralManager alloc]
initWithDelegate:self
- queue:dispatch_get_main_queue()]);
+ queue:dispatch_get_main_queue()
+ options:@{
+ CBCentralManagerOptionShowPowerAlertKey : @NO
+ }]);
unresolvedDevices_.reset([[NSMutableArray alloc] init]);
[[NSHTTPCookieStorage sharedHTTPCookieStorage]
setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyNever];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698