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: Sergey's comments Created Jan. 22, 2018, 6:19 a.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-settings/src/org/adblockplus/libadblockplus/android/settings/ConnectionType.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
similarity index 94%
rename from libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/ConnectionType.java
rename to libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
index 49c3a4f74214944fe647cb1fc59f23eb1f9f8c3b..1f6540519322bd97cbd7848bdc1130e1704d70a3 100644
--- a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/ConnectionType.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/ConnectionType.java
@@ -15,7 +15,7 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-package org.adblockplus.libadblockplus.android.settings;
+package org.adblockplus.libadblockplus.android;
import android.net.ConnectivityManager;
@@ -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