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

Unified Diff: components/proximity_auth/proximity_monitor_impl.cc

Issue 2902023004: [EasyUnlock] Reduce RSSI threshold to -70. (Closed)
Patch Set: fix test Created 3 years, 7 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 | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/proximity_monitor_impl.cc
diff --git a/components/proximity_auth/proximity_monitor_impl.cc b/components/proximity_auth/proximity_monitor_impl.cc
index 038a17e13369a21c80ad36fc530de7a63afbb7fb..202be9defe0de6ae3fb285a3e81bcb71d66a61c9 100644
--- a/components/proximity_auth/proximity_monitor_impl.cc
+++ b/components/proximity_auth/proximity_monitor_impl.cc
@@ -27,8 +27,9 @@ const int kPollingTimeoutMs = 250;
// The RSSI threshold below which we consider the remote device to not be in
// proximity.
-// Tentative value, tested between a cave and Nexus 6 device.
-const int kRssiThreshold = -50;
+// Note: Because this threshold is unconfigurable right now, it is set quite
+// conservatively in order to avoid blocking users.
+const int kRssiThreshold = -70;
// The weight of the most recent RSSI sample.
const double kRssiSampleWeight = 0.3;
« no previous file with comments | « no previous file | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698