Index: mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml |
diff --git a/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml b/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b84b3c5cd65b83f7e3d616e9be7c76f0445890ed |
--- /dev/null |
+++ b/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml |
@@ -0,0 +1,28 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- This Source Code Form is subject to the terms of the Mozilla Public |
+ - License, v. 2.0. If a copy of the MPL was not distributed with this |
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
+ |
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:gecko="http://schemas.android.com/apk/res-auto" |
+ android:title="@string/pref_category_privacy_short" |
+ android:enabled="false"> |
+ |
+ <!-- keys prefixed with "android.not_a_preference." are not synced with Gecko --> |
+ <org.adblockplus.browser.AbpCheckBoxPreference android:key="android.not_a_preference.adblockbrowser.apiAcceptableAdsEnabled" |
+ android:title="@string/adblockbrowser_pref_acceptable_ads" |
+ android:defaultValue="true" |
+ android:persistent="false" |
+ android:enabled="false" /> |
+ |
+ <PreferenceCategory android:title="@string/adblockbrowser_pref_category_acceptable_ads"> |
+ <Preference android:key="android.not_a_preference.adblockbrowser.aboutAcceptableAds" |
+ android:selectable="false" |
+ android:persistent="false" |
+ android:title="About Acceptable ads" |
+ android:summary="@string/adblockbrowser_pref_category_acceptable_ads_extra_summary" /> |
+ </PreferenceCategory> |
+ |
+</PreferenceScreen> |
+ |
+ |