mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-21 21:33:08 +00:00
@@ -19,14 +19,14 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 30
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 30
|
||||||
|
|
||||||
versionCode = 10001201
|
versionCode = 10001300
|
||||||
versionName = "1.0.13-beta.1"
|
versionName = "1.0.13"
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|||||||
+2
-2
@@ -9,7 +9,7 @@ object LoggingHelper {
|
|||||||
|
|
||||||
fun startLogging(directory: File, storagePath: String) {
|
fun startLogging(directory: File, storagePath: String) {
|
||||||
fileLoggingTree()?.let {
|
fileLoggingTree()?.let {
|
||||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
Timber.uproot(it)
|
||||||
}
|
}
|
||||||
if (!directory.exists())
|
if (!directory.exists())
|
||||||
directory.mkdirs()
|
directory.mkdirs()
|
||||||
@@ -18,7 +18,7 @@ object LoggingHelper {
|
|||||||
|
|
||||||
fun stopLogging() {
|
fun stopLogging() {
|
||||||
fileLoggingTree()?.let {
|
fileLoggingTree()?.let {
|
||||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
Timber.uproot(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user