1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 07:56:19 +00:00

Merge pull request #290 from owncloud/release_1.0.4.1

Release 1.0.4.1
This commit is contained in:
David González Verdugo 2019-12-19 12:04:59 +01:00 committed by GitHub
commit fadc578f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -22,8 +22,8 @@ android {
minSdkVersion 21
targetSdkVersion 28
versionCode = 10000400
versionName = "1.0.4"
versionCode = 10000401
versionName = "1.0.4.1"
}
lintOptions {

View File

@ -79,6 +79,9 @@ class OwnCloudVersion(version: String) : Comparable<OwnCloudVersion>, Parcelable
val isPreemptiveAuthenticationPreferred: Boolean
get() = mVersion < MINIMUM_VERSION_WITH_SESSION_MONITORING || mVersion >= MINIMUM_VERSION_WITH_SESSION_MONITORING_WORKING_IN_PREEMPTIVE_MODE
val isVersionLowerThan10: Boolean
get() = mVersion < VERSION_10
val isMultiplePublicSharingSupported: Boolean
get() = mVersion >= MINIMUM_VERSION_WITH_MULTIPLE_PUBLIC_SHARING
@ -199,6 +202,8 @@ class OwnCloudVersion(version: String) : Comparable<OwnCloudVersion>, Parcelable
private const val MINIMUM_VERSION_WITH_SESSION_MONITORING_WORKING_IN_PREEMPTIVE_MODE = 0x09010301
// 9.1.3.1, final 9.1.3: https://github.com/owncloud/core/commit/f9a867b70c217463289a741d4d26079eb2a80dfd
private const val VERSION_10 = 0xA000000 // 10.0.0
private const val MINIMUM_VERSION_WITH_MULTIPLE_PUBLIC_SHARING = 0xA000000 // 10.0.0
private const val MINIMUN_MAJOR_VERSION_WITHOUT_PUBLIC_UPLOAD_PERMISSION = 0xA000000 // 10.0.0