Index: libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/IsAllowedConnectionCallbackImpl.java |
diff --git a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/IsAllowedConnectionCallbackImpl.java b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/IsAllowedConnectionCallbackImpl.java |
index f5b7fcda7df5fbe5f1edb2e21664e75f57c41a87..64612885c1302f6c4df0fefa1bbf693779e47ed5 100644 |
--- a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/IsAllowedConnectionCallbackImpl.java |
+++ b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/IsAllowedConnectionCallbackImpl.java |
@@ -31,10 +31,10 @@ public class IsAllowedConnectionCallbackImpl extends IsAllowedConnectionCallback |
private ConnectivityManager manager; |
- public IsAllowedConnectionCallbackImpl(Context context) |
+ public IsAllowedConnectionCallbackImpl(ConnectivityManager manager) |
{ |
super(); |
- this.manager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); |
+ this.manager = manager; |
} |
@Override |