Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java

Issue 29671734: Issue 6265 - Create shared AdblockEngine instance in AdblockWebView in background (Closed)
Patch Set: addressed Diego's comments Created Jan. 19, 2018, 12:23 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
index 51e968bc46f807782d34bd8cc89a700d88dd7922..1f6540519322bd97cbd7848bdc1130e1704d70a3 100644
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
@@ -39,7 +39,7 @@ public enum ConnectionType {
{
return
manager.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI &&
- !manager.isActiveNetworkMetered();
+ !manager.isActiveNetworkMetered(); // make minSdkVersion 16
}
},

Powered by Google App Engine
This is Rietveld