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

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

Issue 29399749: Issue 5081 - Make libadblockplus-android users supply the application and applicationVersion parame… (Closed)
Patch Set: application/-Version are required now Created March 31, 2017, 3:09 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-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java
diff --git a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java
index 9a97f3755a737d5bbbd6bbf09c5c4941064eb27e..1342110d11b8e9ccfd25d9527958c5973af8886c 100644
--- a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java
+++ b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java
@@ -44,7 +44,7 @@ public class Application extends android.app.Application
AdblockHelper
.get()
- .init(this, basePath, true, AdblockHelper.PREFERENCE_NAME)
+ .init(this, basePath, true, AdblockHelper.PREFERENCE_NAME, getPackageName(), "app.version")
.preloadSubscriptions(AdblockHelper.PRELOAD_PREFERENCE_NAME, map);
}
}

Powered by Google App Engine
This is Rietveld