From 09b3f40d1c599b86656b16596894407597f2b313 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Thu, 21 Aug 2014 18:37:24 -0400 Subject: [PATCH] Remove useless constants, add folder constant --- src/acr/browser/lightning/Constants.java | 27 +----------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/src/acr/browser/lightning/Constants.java b/src/acr/browser/lightning/Constants.java index ffaf4d3..5bbcd6f 100644 --- a/src/acr/browser/lightning/Constants.java +++ b/src/acr/browser/lightning/Constants.java @@ -11,51 +11,26 @@ public final class Constants { } public static final String DESKTOP_USER_AGENT = "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/20 Safari/537.17"; - public static final String MOBILE_USER_AGENT = "Mozilla/5.0 (Linux; U; Android 4.2; en-us; Nexus 4 Build/JOP24G) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"; - public static final int API = android.os.Build.VERSION.SDK_INT; - public static final String YAHOO_SEARCH = "http://search.yahoo.com/search?p="; - public static final String GOOGLE_SEARCH = "https://www.google.com/search?client=lightning&ie=UTF-8&oe=UTF-8&q="; - public static final String BING_SEARCH = "http://www.bing.com/search?q="; - public static final String DUCK_SEARCH = "https://duckduckgo.com/?t=lightning&q="; - public static final String DUCK_LITE_SEARCH = "https://duckduckgo.com/lite/?t=lightning&q="; - public static final String STARTPAGE_MOBILE_SEARCH = "https://startpage.com/do/m/mobilesearch?language=english&query="; - public static final String STARTPAGE_SEARCH = "https://startpage.com/do/search?language=english&query="; - public static final String ANDROID_SEARCH = "http://www.androidsearchresult.com/search.pg?aff=olb&keyword="; - public static final String HOMEPAGE = "about:home"; - public static final String BAIDU_SEARCH = "http://www.baidu.com/s?wd="; - public static final String YANDEX_SEARCH = "http://yandex.ru/yandsearch?lr=21411&text="; - - public static final String ADVANCED_SETTINGS_INTENT = "android.intent.action.ADVANCED_SETTINGS"; - - public static final String LICENSE_INTENT = "android.intent.action.LICENSE"; - - public static final String SETTINGS_INTENT = "android.intent.action.SETTINGS"; - - public static final String INCOGNITO_INTENT = "android.intent.action.INCOGNITO"; - public static final String EXTERNAL_STORAGE = Environment.getExternalStorageDirectory() .toString(); public static final String SEPARATOR = "\\|\\$\\|SEPARATOR\\|\\$\\|"; - public static final String HTTP = "http://"; - public static final String HTTPS = "https://"; - public static final String FILE = "file://"; - + public static final String FOLDER = "folder://"; public static final String TAG = "Lightning"; }