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

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

Issue 29588563: Issue 5929 - Skip update subscription URLs in AndroidWebRequest if not required (Closed)
Patch Set: Created Oct. 25, 2017, 8:07 a.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 | « no previous file | 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 e79009814693748baa83cdb9a04a1a1a99fa85d2..83438fb01f44de53bfd88af734a45d0afe139a5e 100644
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
@@ -251,7 +251,10 @@ public final class AdblockEngine
initCallbacks();
- androidWebRequest.updateSubscriptionURLs(engine.filterEngine);
+ if (!engine.elemhideEnabled)
+ {
+ androidWebRequest.updateSubscriptionURLs(engine.filterEngine);
+ }
return engine;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld