Index: mobile/android/base/java/org/adblockplus/browser/AbpCheckBoxPreference.java |
=================================================================== |
--- a/mobile/android/base/java/org/adblockplus/browser/AbpCheckBoxPreference.java |
+++ b/mobile/android/base/java/org/adblockplus/browser/AbpCheckBoxPreference.java |
@@ -50,24 +50,24 @@ |
super.onAttachedToActivity(); |
this.apiKey = this.getKey().substring(this.getKey().lastIndexOf(".api") + 4); |
this.setEnabled(false); |
this.refreshValue(); |
} |
private void refreshValue() |
{ |
- AddOnBridge.queryValue(this.apiKey, this); |
+ ExtensionBridge.queryValue(this.apiKey, this); |
} |
@Override |
protected void onClick() |
{ |
super.onClick(); |
- AddOnBridge.setBoolean(this.apiKey, this.isChecked(), null); |
+ ExtensionBridge.setBoolean(this.apiKey, this.isChecked(), null); |
} |
@Override |
public void onApiRequestSucceeded(GeckoBundle bundle) |
{ |
final boolean enabled = bundle.getBoolean("value"); |
ThreadUtils.postToUiThread(new Runnable() |
{ |