From 5a5dd65478fd2ca3a535cafb1730927b47776bd8 Mon Sep 17 00:00:00 2001 From: Tobias Kaminsky Date: Tue, 23 Apr 2024 11:25:17 +0200 Subject: [PATCH 1/3] Update library Signed-off-by: Tobias Kaminsky --- build.gradle | 2 +- gradle/verification-metadata.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c4a9144bb143..bac1a6c1368a 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ */ buildscript { ext { - androidLibraryVersion ="0c886d61f6" + androidLibraryVersion ="5fbc7d3a9bc9fd123ce9593cc500bb6415e797c6" androidPluginVersion = '8.3.2' androidxMediaVersion = '1.3.1' androidxTestVersion = "1.5.0" diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 981bf2476029..cb11a2ec946c 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -5172,6 +5172,14 @@ + + + + + + + + From 2ff5006273f33fa0ab788dcfb5daa7e3891becc9 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Tue, 23 Apr 2024 11:39:36 +0200 Subject: [PATCH 2/3] fix packaging option Signed-off-by: tobiasKaminsky --- app/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/app/build.gradle b/app/build.gradle index 419d0737be6f..90b7c0167fd8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -195,6 +195,7 @@ android { packagingOptions { resources { excludes += 'META-INF/LICENSE*' + excludes += 'META-INF/versions/9/OSGI-INF/MANIFEST*' pickFirst 'MANIFEST.MF' // workaround for duplicated manifest on some dependencies } } From 90b3958894df952c0e0e0580734b3768ee3b9e84 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 24 Apr 2024 07:21:10 +0200 Subject: [PATCH 3/3] fix test Signed-off-by: tobiasKaminsky --- .../com/owncloud/android/utils/theme/CapabilityUtilsIT.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt b/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt index 0746c4dd845b..98b410f6707d 100644 --- a/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt +++ b/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt @@ -17,11 +17,12 @@ import org.junit.Test class CapabilityUtilsIT : AbstractIT() { @Test fun checkOutdatedWarning() { + assertFalse(test(NextcloudVersion.nextcloud_28)) assertFalse(test(NextcloudVersion.nextcloud_27)) - assertFalse(test(NextcloudVersion.nextcloud_26)) - assertFalse(test(NextcloudVersion.nextcloud_25)) - assertFalse(test(NextcloudVersion.nextcloud_24)) + assertTrue(test(NextcloudVersion.nextcloud_26)) + assertTrue(test(NextcloudVersion.nextcloud_25)) + assertTrue(test(NextcloudVersion.nextcloud_24)) assertTrue(test(NextcloudVersion.nextcloud_23)) assertTrue(test(NextcloudVersion.nextcloud_22)) assertTrue(test(NextcloudVersion.nextcloud_21))