Skip to content

Commit 53e4dee

Browse files
committed
Prepare new release. Let's downgrade the targetSdk temporary
1 parent c88346d commit 53e4dee

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
// SDK
44
sdkCompileVersion = 31
55
sdkMinVersion = 21
6-
sdkTargetVersion = 31
6+
sdkTargetVersion = 30
77

88
// Android jetpack
99
archLifecycleVersion = "2.1.0"

owncloudApp/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ android {
105105

106106
testInstrumentationRunner "com.owncloud.android.utils.OCTestAndroidJUnitRunner"
107107

108-
versionCode = 22100000
109-
versionName = "2.21"
108+
versionCode = 22100100
109+
versionName = "2.21.1"
110110

111111
buildConfigField "String", gitRemote, "\"" + getGitOriginRemote() + "\""
112112
buildConfigField "String", commitSHA1, "\"" + getLatestGitHash() + "\""

owncloudApp/src/main/java/com/owncloud/android/dependecyinjection/RemoteDataSourceModule.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ val remoteDataSourceModule = module {
6666
single { SingleSessionManager.getDefaultSingleton().getClientFor(get(), androidContext(), get()) }
6767

6868
single { ConnectionValidator(androidContext(), androidContext().resources.getBoolean(R.bool.clear_cookies_on_validation)) }
69-
single { ClientManager(get(), get(), get(), MainApp.accountType, get()) }
69+
single { ClientManager(get(), get(), androidContext(), MainApp.accountType, get()) }
7070

7171
single<CapabilityService> { OCCapabilityService(get()) }
7272
single<FileService> { OCFileService(get()) }

owncloudApp/src/main/java/com/owncloud/android/files/services/AvailableOfflineSyncJobService.java

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ protected JobParameters doInBackground(JobParameters... jobParams) {
9797

9898
// Cancel periodic job if there's no available offline files to watch for local changes
9999
if (availableOfflineFilesFromEveryAccount.isEmpty()) {
100+
Timber.w("No available files for any account.");
100101
cancelPeriodicJob(jobParams[0].getJobId());
101102
return jobParams[0];
102103
} else {

0 commit comments

Comments
 (0)