Update dependencies
This commit is contained in:
5 files changed
+10
-7
No files matched your search
@@ -29,11 +29,10 @@ import java.util.Map;
|
||||
public final class Analytics {
|
||||
|
||||
public static void start(Application application) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
return;
|
||||
}
|
||||
AppCenter.start(application, "1aa06805-037c-4f3c-8aaa-e23d1433986d", com.microsoft.appcenter.analytics.Analytics.class, Crashes.class, Distribute.class);
|
||||
AppCenter.setUserId(Settings.getUserID());
|
||||
Crashes.setEnabled(!BuildConfig.DEBUG);
|
||||
Distribute.setEnabledForDebuggableBuild(false);
|
||||
}
|
||||
|
||||
public static boolean isEnabled() {
|
||||
|
||||
@@ -275,7 +275,7 @@ public class EhApplication extends RecordingApplication {
|
||||
|
||||
@NonNull
|
||||
public static String getDeveloperEmail() {
|
||||
return "ehviewersu$gmail.com".replace('$', '@');
|
||||
return "nekoworkshop$protonmail.com".replace('$', '@');
|
||||
}
|
||||
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
|
||||
@@ -24,6 +24,7 @@ import android.text.TextUtils;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.browser.customtabs.CustomTabColorSchemeParams;
|
||||
import androidx.browser.customtabs.CustomTabsIntent;
|
||||
|
||||
import com.hippo.android.resource.AttrResources;
|
||||
@@ -60,7 +61,10 @@ public final class UrlOpener {
|
||||
|
||||
CustomTabsIntent.Builder customTabsIntent = new CustomTabsIntent.Builder();
|
||||
customTabsIntent.setShowTitle(true);
|
||||
customTabsIntent.setToolbarColor(AttrResources.getAttrColor(context, R.attr.colorPrimary));
|
||||
CustomTabColorSchemeParams darkParams = new CustomTabColorSchemeParams.Builder()
|
||||
.setToolbarColor(AttrResources.getAttrColor(context, R.attr.colorPrimary))
|
||||
.build();
|
||||
customTabsIntent.setColorSchemeParams(CustomTabsIntent.COLOR_SCHEME_LIGHT, darkParams);
|
||||
try {
|
||||
customTabsIntent.build().launchUrl(context, uri);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
|
||||
Reference in new issue
Block a user