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 |
} |
}, |