Skip to content

Commit 60f3828

Browse files
Merge pull request #1083 from nextcloud/renovate/androidx.fragment-fragment-1.x
fix(deps): update dependency androidx.fragment:fragment to v1.9.1
2 parents cb7d112 + 1a4faa0 commit 60f3828

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

‎gradle/verification-metadata.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,11 @@
11481148
<sha256 value="8e9070295de026efd015ef9cc6156caacd2509300fdf0bc9c7ccbc78c476ab4b" origin="Generated by Gradle"/>
11491149
</artifact>
11501150
</component>
1151+
<component group="androidx.fragment" name="fragment" version="1.9.1">
1152+
<artifact name="fragment-1.9.1.aar">
1153+
<sha256 value="72f70815c0a4d502f15c57e5e6bc861e64c5338ea06de75aed83969b17a2a727" origin="Generated by Gradle"/>
1154+
</artifact>
1155+
</component>
11511156
<component group="androidx.interpolator" name="interpolator" version="1.0.0">
11521157
<artifact name="interpolator-1.0.0.aar">
11531158
<sha256 value="33193135a64fe21fa2c35eec6688f1a76e512606c0fc83dc1b689e37add7732a" origin="Generated by Gradle" reason="Artifact is not signed"/>

‎lib/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ dependencies {
138138
implementation "androidx.appcompat:appcompat:1.8.0"
139139
implementation 'androidx.annotation:annotation:1.11.0'
140140
implementation 'androidx.core:core:1.19.1'
141-
implementation 'androidx.fragment:fragment:1.9.0'
141+
implementation 'androidx.fragment:fragment:1.9.1'
142142

143143
implementation 'com.google.android.material:material:1.14.0'
144144

‎lib/src/test/java/com/nextcloud/android/sso/api/AidlNetworkRequestDeserializationTest.kt‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ import java.io.ObjectOutputStream
1818
import java.nio.charset.StandardCharsets
1919

2020
class AidlNetworkRequestDeserializationTest {
21-
2221
/**
2322
* Exception class only used to be renamed in the serialized stream, simulating an exception
2423
* type that exists in the Files app but not in the client app (e.g.
2524
* `com.owncloud.android.lib.common.network.CertificateCombinedException`).
2625
*/
27-
class OnlyInFilesAppException(message: String) : Exception(message)
26+
class OnlyInFilesAppException(
27+
message: String
28+
) : Exception(message)
2829

2930
@Test
3031
fun deserializeObjectV2ExceptionClassMissingInClientAppReturnsReadableException() {
@@ -69,7 +70,10 @@ class AidlNetworkRequestDeserializationTest {
6970
}
7071

7172
/** Mirrors `InputStreamBinder#serializeObjectToInputStreamV2` in the Files app. */
72-
private fun serialize(exception: Exception?, headers: String): ByteArray {
73+
private fun serialize(
74+
exception: Exception?,
75+
headers: String
76+
): ByteArray {
7377
val baos = ByteArrayOutputStream()
7478
ObjectOutputStream(baos).use { oos ->
7579
oos.writeObject(exception)
@@ -78,7 +82,11 @@ class AidlNetworkRequestDeserializationTest {
7882
return baos.toByteArray()
7983
}
8084

81-
private fun replaceBytes(data: ByteArray, search: String, replace: String): ByteArray {
85+
private fun replaceBytes(
86+
data: ByteArray,
87+
search: String,
88+
replace: String
89+
): ByteArray {
8290
val searchBytes = search.toByteArray(StandardCharsets.US_ASCII)
8391
val replaceBytes = replace.toByteArray(StandardCharsets.US_ASCII)
8492
assertEquals(searchBytes.size, replaceBytes.size)

0 commit comments

Comments
 (0)