From 5ce1b8dd50d2703b924fea657cdce02cf37e77d2 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 30 Apr 2020 21:33:02 -0400 Subject: [PATCH] Updates to About Controller Removed option to disable crash reports Added What's new: linking to the github release Link to website Fixed Build Time Added open source licenese --- app/build.gradle.kts | 3 + app/src/main/AndroidManifest.xml | 7 ++ .../ui/setting/SettingsAboutController.kt | 69 +++++++++++++------ app/src/main/res/values/strings.xml | 3 + app/src/main/res/values/themes.xml | 6 ++ settings.gradle.kts | 2 + 6 files changed, 69 insertions(+), 21 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 044b98a32b..fe44eedb28 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -5,6 +5,7 @@ import java.time.format.DateTimeFormatter plugins { id("com.android.application") + id("com.google.android.gms.oss-licenses-plugin") kotlin("android") kotlin("android.extensions") kotlin("kapt") @@ -243,6 +244,8 @@ dependencies { // Text distance implementation("info.debatty:java-string-similarity:1.2.1") + + implementation("com.google.android.gms:play-services-oss-licenses:17.0.0") } tasks.preBuild { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 897b4ac034..022e46c387 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -116,6 +116,13 @@ android:name=".extension.util.ExtensionInstallActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/> + + + Build time Send crash reports Helps fix any bugs. No sensitive data will be sent + What\'s new in this release + Website + Open source licenses Log in to %1$s diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index be78a805a3..a4cc42f6e1 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -76,4 +76,10 @@ false false + + diff --git a/settings.gradle.kts b/settings.gradle.kts index d43066f10b..21e9604ec2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,6 +16,8 @@ pluginManagement { useModule("com.google.gms:google-services:4.3.3") }else if(requested.id.id.equals("com.github.zellius.shortcut-helper")){ useModule("com.github.zellius:android-shortcut-gradle-plugin:0.1.2") + }else if(requested.id.id.equals("com.google.android.gms.oss-licenses-plugin")){ + useModule("com.google.android.gms:oss-licenses-plugin:0.10.2") } }