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

Unified Diff: net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java

Issue 1411243013: [Android] Fix 'alwaysWatchForChanges' comment in NetworkChangeNotifierAutoDetect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
diff --git a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
index 06ff933fee9190070cb56603683aa2026940fdd9..333c85cb900f572b1d63a3bfd33f10c91a2902e2 100644
--- a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
+++ b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
@@ -394,8 +394,9 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver {
/**
* Constructs a NetworkChangeNotifierAutoDetect. Should only be called on UI thread.
- * @param alwaysWatchForChanges If true, always watch for network changes.
- * Otherwise, only watch if app is in foreground.
+ * @param policy The RegistrationPolicy which determines when this class should watch
+ * for network changes (e.g. see (@link RegistrationPolicyAlwaysRegister} and
+ * {@link RegistrationPolicyApplicationStatus}).
*/
@SuppressLint("NewApi")
public NetworkChangeNotifierAutoDetect(
« 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