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

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

Issue 29559597: Issue 5810 - Use "specialization" as Subscription display title (Closed)
Patch Set: fix Created Sept. 29, 2017, 8:38 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
« no previous file with comments | « libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/SharedPrefsStorage.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
index 58c607279f0d69180f1ade0dd43b9a374e592e21..e79009814693748baa83cdb9a04a1a1a99fa85d2 100644
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
@@ -359,6 +359,16 @@ public final class AdblockEngine
jsUrl.dispose();
}
+ JsValue jsSpecialization = jsSubscription.getProperty("specialization");
+ try
+ {
+ subscription.specialization = jsSpecialization.toString();
+ }
+ finally
+ {
+ jsSpecialization.dispose();
+ }
+
return subscription;
}
« no previous file with comments | « libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/SharedPrefsStorage.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld