diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index 1a8bd524..f3bce20a 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -1148,6 +1148,11 @@
+
+
+
+
+
diff --git a/lib/build.gradle b/lib/build.gradle
index 4b22f40b..ee07997e 100644
--- a/lib/build.gradle
+++ b/lib/build.gradle
@@ -138,7 +138,7 @@ dependencies {
implementation "androidx.appcompat:appcompat:1.8.0"
implementation 'androidx.annotation:annotation:1.11.0'
implementation 'androidx.core:core:1.19.1'
- implementation 'androidx.fragment:fragment:1.9.0'
+ implementation 'androidx.fragment:fragment:1.9.1'
implementation 'com.google.android.material:material:1.14.0'
diff --git a/lib/src/test/java/com/nextcloud/android/sso/api/AidlNetworkRequestDeserializationTest.kt b/lib/src/test/java/com/nextcloud/android/sso/api/AidlNetworkRequestDeserializationTest.kt
index d0dfe0b2..22212b79 100644
--- a/lib/src/test/java/com/nextcloud/android/sso/api/AidlNetworkRequestDeserializationTest.kt
+++ b/lib/src/test/java/com/nextcloud/android/sso/api/AidlNetworkRequestDeserializationTest.kt
@@ -18,13 +18,14 @@ import java.io.ObjectOutputStream
import java.nio.charset.StandardCharsets
class AidlNetworkRequestDeserializationTest {
-
/**
* Exception class only used to be renamed in the serialized stream, simulating an exception
* type that exists in the Files app but not in the client app (e.g.
* `com.owncloud.android.lib.common.network.CertificateCombinedException`).
*/
- class OnlyInFilesAppException(message: String) : Exception(message)
+ class OnlyInFilesAppException(
+ message: String
+ ) : Exception(message)
@Test
fun deserializeObjectV2ExceptionClassMissingInClientAppReturnsReadableException() {
@@ -69,7 +70,10 @@ class AidlNetworkRequestDeserializationTest {
}
/** Mirrors `InputStreamBinder#serializeObjectToInputStreamV2` in the Files app. */
- private fun serialize(exception: Exception?, headers: String): ByteArray {
+ private fun serialize(
+ exception: Exception?,
+ headers: String
+ ): ByteArray {
val baos = ByteArrayOutputStream()
ObjectOutputStream(baos).use { oos ->
oos.writeObject(exception)
@@ -78,7 +82,11 @@ class AidlNetworkRequestDeserializationTest {
return baos.toByteArray()
}
- private fun replaceBytes(data: ByteArray, search: String, replace: String): ByteArray {
+ private fun replaceBytes(
+ data: ByteArray,
+ search: String,
+ replace: String
+ ): ByteArray {
val searchBytes = search.toByteArray(StandardCharsets.US_ASCII)
val replaceBytes = replace.toByteArray(StandardCharsets.US_ASCII)
assertEquals(searchBytes.size, replaceBytes.size)