Remove useless constants, add folder constant
This commit is contained in:
parent
8dfe58b452
commit
09b3f40d1c
@ -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 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 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 int API = android.os.Build.VERSION.SDK_INT;
|
||||||
|
|
||||||
public static final String YAHOO_SEARCH = "http://search.yahoo.com/search?p=";
|
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 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 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_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 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_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 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 ANDROID_SEARCH = "http://www.androidsearchresult.com/search.pg?aff=olb&keyword=";
|
||||||
|
|
||||||
public static final String HOMEPAGE = "about:home";
|
public static final String HOMEPAGE = "about:home";
|
||||||
|
|
||||||
public static final String BAIDU_SEARCH = "http://www.baidu.com/s?wd=";
|
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 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()
|
public static final String EXTERNAL_STORAGE = Environment.getExternalStorageDirectory()
|
||||||
.toString();
|
.toString();
|
||||||
|
|
||||||
public static final String SEPARATOR = "\\|\\$\\|SEPARATOR\\|\\$\\|";
|
public static final String SEPARATOR = "\\|\\$\\|SEPARATOR\\|\\$\\|";
|
||||||
|
|
||||||
public static final String HTTP = "http://";
|
public static final String HTTP = "http://";
|
||||||
|
|
||||||
public static final String HTTPS = "https://";
|
public static final String HTTPS = "https://";
|
||||||
|
|
||||||
public static final String FILE = "file://";
|
public static final String FILE = "file://";
|
||||||
|
public static final String FOLDER = "folder://";
|
||||||
public static final String TAG = "Lightning";
|
public static final String TAG = "Lightning";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user