| Index: libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java |
| diff --git a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java |
| deleted file mode 100644 |
| index 8788335568e691afb73c6b74b3404df09742a5ac..0000000000000000000000000000000000000000 |
| --- a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/Application.java |
| +++ /dev/null |
| @@ -1,50 +0,0 @@ |
| -/* |
| - * This file is part of Adblock Plus <https://adblockplus.org/>, |
| - * Copyright (C) 2006-present eyeo GmbH |
| - * |
| - * Adblock Plus is free software: you can redistribute it and/or modify |
| - * it under the terms of the GNU General Public License version 3 as |
| - * published by the Free Software Foundation. |
| - * |
| - * Adblock Plus is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * You should have received a copy of the GNU General Public License |
| - * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| - */ |
| - |
| -package org.adblockplus.libadblockplus.android.webviewapp; |
| - |
| -import android.content.Context; |
| - |
| -import org.adblockplus.libadblockplus.android.AdblockEngine; |
| -import org.adblockplus.libadblockplus.android.AndroidWebRequestResourceWrapper; |
| -import org.adblockplus.libadblockplus.android.settings.AdblockHelper; |
| - |
| -import java.util.HashMap; |
| -import java.util.Map; |
| - |
| -public class Application extends android.app.Application |
| -{ |
| - @Override |
| - public void onCreate() |
| - { |
| - super.onCreate(); |
| - |
| - // init Adblock |
| - String basePath = getDir(AdblockEngine.BASE_PATH_DIRECTORY, Context.MODE_PRIVATE).getAbsolutePath(); |
| - |
| - // provide preloaded subscriptions |
| - Map<String, Integer> map = new HashMap<String, Integer>(); |
| - map.put(AndroidWebRequestResourceWrapper.EASYLIST, R.raw.easylist); |
| - map.put(AndroidWebRequestResourceWrapper.EASYLIST_CHINESE, R.raw.easylist); |
| - map.put(AndroidWebRequestResourceWrapper.ACCEPTABLE_ADS, R.raw.exceptionrules); |
| - |
| - AdblockHelper |
| - .get() |
| - .init(this, basePath, true, AdblockHelper.PREFERENCE_NAME) |
| - .preloadSubscriptions(AdblockHelper.PRELOAD_PREFERENCE_NAME, map); |
| - } |
| -} |