From 535e698e6201d49bd9dcbe0db48dc8a1a996534d Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Wed, 27 Nov 2024 00:48:06 +0700 Subject: [PATCH 1/2] fix app shortcuts --- app/src/beta/res/xml/shortcuts.xml | 50 +++++++++++++++++++ app/src/main/res/xml/shortcuts.xml | 8 +-- .../BaselineProfileGenerator.kt | 2 +- 3 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 app/src/beta/res/xml/shortcuts.xml diff --git a/app/src/beta/res/xml/shortcuts.xml b/app/src/beta/res/xml/shortcuts.xml new file mode 100644 index 0000000000..c1de3f041e --- /dev/null +++ b/app/src/beta/res/xml/shortcuts.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml index 78cc10c6fb..6692bedc88 100644 --- a/app/src/main/res/xml/shortcuts.xml +++ b/app/src/main/res/xml/shortcuts.xml @@ -8,7 +8,7 @@ android:shortcutShortLabel="@string/label_library"> diff --git a/macrobenchmark/src/main/java/tachiyomi/macrobenchmark/BaselineProfileGenerator.kt b/macrobenchmark/src/main/java/tachiyomi/macrobenchmark/BaselineProfileGenerator.kt index 9c9bd1bc21..4d069883f8 100644 --- a/macrobenchmark/src/main/java/tachiyomi/macrobenchmark/BaselineProfileGenerator.kt +++ b/macrobenchmark/src/main/java/tachiyomi/macrobenchmark/BaselineProfileGenerator.kt @@ -12,7 +12,7 @@ class BaselineProfileGenerator { @Test fun generate() = baselineProfileRule.collect( - packageName = "eu.kanade.tachiyomi.sy.benchmark", + packageName = "app.komikku.benchmark", profileBlock = { pressHome() startActivityAndWait() From 4f1223401146bf8716f8a098907d5b2caf60cc23 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Thu, 19 Dec 2024 00:31:52 +0700 Subject: [PATCH 2/2] remove zellius --- app/build.gradle.kts | 3 --- gradle/libs.versions.toml | 1 - 2 files changed, 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 30848f941f..9dbb84425d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,7 +11,6 @@ plugins { id("mihon.android.application.compose") kotlin("plugin.parcelize") kotlin("plugin.serialization") - // id("com.github.zellius.shortcut-helper") alias(libs.plugins.aboutLibraries) id("com.github.ben-manes.versions") } @@ -23,8 +22,6 @@ if (gradle.startParameter.taskRequests.toString().contains("Standard")) { } } -// shortcutHelper.setFilePath("./shortcuts.xml") - val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64") android { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f5bac37eb4..ba00380cfa 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,7 +14,6 @@ firebase-bom = "33.6.0" [libraries] desugar = "com.android.tools:desugar_jdk_libs:2.1.3" -android-shortcut-gradle = "com.github.zellius:android-shortcut-gradle-plugin:0.1.2" rxjava = "io.reactivex:rxjava:1.3.8"