This commit is contained in:
Benoit Marty 2021-02-08 18:14:57 +01:00 committed by Benoit Marty
parent 3633199e68
commit 218be86c68
3 changed files with 3 additions and 6 deletions

View File

@ -13,7 +13,6 @@ buildscript {
}
}
android {
compileSdkVersion 30
testOptions.unitTests.includeAndroidResources = true
@ -89,7 +88,6 @@ android {
java.srcDirs += "src/sharedTest/java"
}
}
}
static def gitRevision() {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 New Vector Ltd
* Copyright (c) 2021 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 New Vector Ltd
* Copyright (c) 2021 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import timber.log.Timber
import java.io.File
import java.util.concurrent.atomic.AtomicInteger
internal class DefaultLazyRoomSyncJsonAdapter() {
internal class DefaultLazyRoomSyncJsonAdapter {
@FromJson
fun fromJson(reader: JsonReader, delegate: JsonAdapter<RoomSync>): LazyRoomSync? {
@ -48,7 +48,6 @@ internal class SplitLazyRoomSyncJsonAdapter(
private val workingDirectory: File,
private val syncStrategy: InitialSyncStrategy.Optimized
) {
private val atomicInteger = AtomicInteger(0)
private fun createFile(): File {