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

Side by Side Diff: src/org/adblockplus/android/ABPEngine.java

Issue 6196972490850304: Make the Acceptable Ads link clickable (Closed)
Patch Set: Fix issues Created Nov. 26, 2013, 10:24 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 public native void addSubscription(String url); 85 public native void addSubscription(String url);
86 86
87 public native void removeSubscription(String url); 87 public native void removeSubscription(String url);
88 88
89 public native void refreshSubscription(String url); 89 public native void refreshSubscription(String url);
90 90
91 public native void actualizeSubscriptionStatus(String url); 91 public native void actualizeSubscriptionStatus(String url);
92 92
93 public native void setAcceptableAdsEnabled(boolean enabled); 93 public native void setAcceptableAdsEnabled(boolean enabled);
94 94
95 public native String getDocumentationLink();
96
95 public native boolean matches(String url, String contentType, String documentU rl); 97 public native boolean matches(String url, String contentType, String documentU rl);
96 98
97 public native String[] getSelectorsForDomain(String domain); 99 public native String[] getSelectorsForDomain(String domain);
98 100
99 public native void checkUpdates(); 101 public native void checkUpdates();
100 102
101 private Notification getNotification(String url, String error) 103 private Notification getNotification(String url, String error)
102 { 104 {
103 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0); 105 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
104 106
(...skipping 29 matching lines...) Expand all
134 136
135 Notification notification = builder.getNotification(); 137 Notification notification = builder.getNotification();
136 return notification; 138 return notification;
137 } 139 }
138 140
139 static 141 static
140 { 142 {
141 System.loadLibrary("abpEngine"); 143 System.loadLibrary("abpEngine");
142 } 144 }
143 } 145 }
OLDNEW

Powered by Google App Engine
This is Rietveld