Index: mobile/android/base/java/org/adblockplus/browser/BrowserAppUtils.java |
=================================================================== |
--- a/mobile/android/base/java/org/adblockplus/browser/BrowserAppUtils.java |
+++ b/mobile/android/base/java/org/adblockplus/browser/BrowserAppUtils.java |
@@ -36,17 +36,17 @@ |
if (selectedTab == null) |
return; |
final String url = selectedTab.getURL(); |
item.setEnabled(false); |
item.setChecked(true); |
if (UrlUtils.isSchemeHttpOrHttps(url)) |
{ |
- AddOnBridge.queryIsWebsiteWhitelisted(url, new AdblockPlusApiCallback() |
+ ExtensionBridge.queryIsWebsiteWhitelisted(url, new AdblockPlusApiCallback() |
{ |
@Override |
public void onApiRequestSucceeded(GeckoBundle bundle) |
{ |
final boolean whitelisted = bundle.getBoolean("value"); |
ThreadUtils.postToUiThread(new Runnable() |
{ |
@Override |
@@ -69,17 +69,17 @@ |
public static void updateCurrentTabWhitelisting(final MenuItem item) |
{ |
final Tab selectedTab = Tabs.getInstance().getSelectedTab(); |
if (selectedTab == null) |
return; |
final String url = selectedTab.getURL(); |
- AddOnBridge.whitelistWebsite(url, item.isChecked(), new AdblockPlusApiCallback() |
+ ExtensionBridge.whitelistWebsite(url, item.isChecked(), new AdblockPlusApiCallback() |
{ |
@Override |
public void onApiRequestSucceeded(GeckoBundle bundle) |
{ |
ThreadUtils.postToUiThread(new Runnable() |
{ |
@Override |
public void run() |