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

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

Issue 264973019: GetCurrentConnectionType (in NetworkChangeNotifier.java) gets actual connection type if the value i… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Always notify in updateCurrentConnectionType (like before). Created 6 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 | 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/NetworkChangeNotifier.java
diff --git a/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java b/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
index 9293c7223cdda76f338f195108c28dbd19f7a926..67c2c2b9c5486a8877d1a8d8eb4148f34364e0d8 100644
--- a/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
+++ b/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
@@ -134,7 +134,7 @@ public class NetworkChangeNotifier {
}
},
mContext);
- mCurrentConnectionType = mAutoDetector.getCurrentConnectionType();
+ updateCurrentConnectionType(mAutoDetector.getCurrentConnectionType());
}
} else {
destroyAutoDetector();
« 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