1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-22 04:12:08 +01:00

Add FF Klar to custom tabs list

This commit is contained in:
Gregor Santner 2018-04-08 08:44:00 +02:00
parent f6ab146fd7
commit 82ccc54436
No known key found for this signature in database
GPG key ID: 7E83A7834AECB009
4 changed files with 6 additions and 5 deletions

View file

@ -43,6 +43,7 @@ public class CustomTabsHelper {
static final String LOCAL_PACKAGE = "com.google.android.apps.chrome"; static final String LOCAL_PACKAGE = "com.google.android.apps.chrome";
static final String CHROMIUM = "org.chromium.chrome"; static final String CHROMIUM = "org.chromium.chrome";
static final String FENNEC = "org.mozilla.fennec_fdroid"; static final String FENNEC = "org.mozilla.fennec_fdroid";
static final String KLAR = "org.mozilla.klar";
private static final String EXTRA_CUSTOM_TABS_KEEP_ALIVE = private static final String EXTRA_CUSTOM_TABS_KEEP_ALIVE =
"android.support.customtabs.extra.KEEP_ALIVE"; "android.support.customtabs.extra.KEEP_ALIVE";
@ -143,6 +144,6 @@ public class CustomTabsHelper {
* @return All possible chrome package names that provide custom tabs feature. * @return All possible chrome package names that provide custom tabs feature.
*/ */
public static String[] getPackages() { public static String[] getPackages() {
return new String[]{"", STABLE_PACKAGE, BETA_PACKAGE, DEV_PACKAGE, LOCAL_PACKAGE, CHROMIUM, FENNEC}; return new String[]{"", STABLE_PACKAGE, BETA_PACKAGE, DEV_PACKAGE, LOCAL_PACKAGE, CHROMIUM, FENNEC, KLAR};
} }
} }

View file

@ -7,7 +7,7 @@ buildscript {
ext.version_setup_buildTools = "27.0.3" // Specifying optional ext.version_setup_buildTools = "27.0.3" // Specifying optional
// https://developer.android.com/studio/releases/gradle-plugin.html // https://developer.android.com/studio/releases/gradle-plugin.html
ext.version_gradle_tools = "3.0.1" ext.version_gradle_tools = "3.1.0"
// https://developer.android.com/topic/libraries/support-library/revisions.html // https://developer.android.com/topic/libraries/support-library/revisions.html
ext.version_library_appcompat = "27.1.0" ext.version_library_appcompat = "27.1.0"
// https://github.com/JakeWharton/butterknife/releases // https://github.com/JakeWharton/butterknife/releases

View file

@ -1,6 +1,6 @@
#Thu Oct 26 13:46:14 CEST 2017 #Sun Apr 08 08:39:15 CEST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip