From ca47446b46e74ac4d366b7baa686cf3772b0ced9 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 18 Apr 2020 22:24:55 -0400 Subject: [PATCH] Add link to website and open source licenses --- app/build.gradle | 4 +++- app/src/main/AndroidManifest.xml | 7 +++++++ .../kanade/tachiyomi/ui/more/AboutController.kt | 17 +++++++++++++++++ app/src/main/res/values/strings.xml | 2 ++ build.gradle.kts | 1 + 5 files changed, 30 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 2de3ec21dc..449ae90317 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ import java.text.SimpleDateFormat apply plugin: 'com.android.application' +apply plugin: 'com.google.android.gms.oss-licenses-plugin' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: 'com.github.zellius.shortcut-helper' apply plugin: "org.jmailen.kotlinter" - shortcutHelper.filePath = './shortcuts.xml' ext { @@ -259,6 +259,8 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" + implementation 'com.google.android.gms:play-services-oss-licenses:17.0.0' + // For detecting memory leaks; see https://square.github.io/leakcanary/ // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 324b8a8d6e..261df31e81 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -119,6 +119,13 @@ android:name=".extension.util.ExtensionInstallActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" /> + + + Battery optimization is already disabled + Website Version Build time Notices Changelog + Open source licenses Check for updates Automatically check for new app versions diff --git a/build.gradle.kts b/build.gradle.kts index 9a05f14441..837208b3fe 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,6 +13,7 @@ buildscript { classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2") classpath("org.jmailen.gradle:kotlinter-gradle:2.3.2") classpath("com.google.gms:google-services:4.3.3") + classpath("com.google.android.gms:oss-licenses-plugin:0.10.2") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }