Index: libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
diff --git a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
index 2358295665018e23066267f9cf4df844b9fa54be..c33259851491d68684a01567a5cefe69a790f318 100644 |
--- a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
+++ b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
@@ -56,8 +56,6 @@ public class AdblockHelper |
private String settingsPreferenceName; |
private String preloadedPreferenceName; |
private Map<String, Integer> urlToResourceIdMap; |
- private String application; |
- private String applicationVersion; |
private AdblockEngine engine; |
private AdblockSettingsStorage storage; |
private CountDownLatch engineCreated; |
@@ -112,19 +110,14 @@ public class AdblockHelper |
* recommended because it can be cleared by the system. |
* @param developmentBuild debug or release? |
* @param preferenceName Shared Preferences name to store adblock settings |
- * @param application Technical name of the platform the app is running on (not user visible). |
- * @param applicationVersion Current version of the platform the app is running on. |
*/ |
public AdblockHelper init(Context context, String basePath, |
- boolean developmentBuild, String preferenceName, |
- String application, String applicationVersion) |
+ boolean developmentBuild, String preferenceName) |
{ |
this.context = context.getApplicationContext(); |
this.basePath = basePath; |
this.developmentBuild = developmentBuild; |
this.settingsPreferenceName = preferenceName; |
- this.application = application; |
- this.applicationVersion = applicationVersion; |
return this; |
} |
@@ -156,7 +149,7 @@ public class AdblockHelper |
AdblockEngine.Builder builder = AdblockEngine |
.builder( |
- AdblockEngine.generateAppInfo(context, developmentBuild, application, applicationVersion), |
+ AdblockEngine.generateAppInfo(context, developmentBuild), |
basePath) |
.setIsAllowedConnectionCallback(isAllowedConnectionCallback) |
.enableElementHiding(true); |