From ae98185c9d81783e5680524dc7e217b926143c96 Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Mon, 28 Feb 2022 17:39:40 +0200 Subject: [PATCH 1/2] Cleanup enabling threads from buildConfig --- build.gradle | 5 ----- matrix-sdk-android/build.gradle | 2 -- vector/build.gradle | 3 --- 3 files changed, 10 deletions(-) diff --git a/build.gradle b/build.gradle index 6d5ef35547..9cae9e7e70 100644 --- a/build.gradle +++ b/build.gradle @@ -144,11 +144,6 @@ project(":library:diff-match-patch") { } } -// Global configurations across all modules -ext { - isThreadingEnabled = true -} - //project(":matrix-sdk-android") { // sonarqube { // properties { diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index e46bd97ed2..3e301eebb9 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -38,8 +38,6 @@ android { resValue "string", "git_sdk_revision_unix_date", "\"${gitRevisionUnixDate()}\"" resValue "string", "git_sdk_revision_date", "\"${gitRevisionDate()}\"" - // Indicates whether or not threading support is enabled - buildConfigField "Boolean", "THREADING_ENABLED", "${isThreadingEnabled}" defaultConfig { consumerProguardFiles 'proguard-rules.pro' } diff --git a/vector/build.gradle b/vector/build.gradle index b59ea2126a..676b84839f 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -146,9 +146,6 @@ android { // This *must* only be set in trusted environments. buildConfigField "Boolean", "handleCallAssertedIdentityEvents", "false" - // Indicates whether or not threading support is enabled - buildConfigField "Boolean", "THREADING_ENABLED", "${isThreadingEnabled}" - buildConfigField "Boolean", "enableLocationSharing", "true" buildConfigField "String", "mapTilerKey", "\"fU3vlMsMn4Jb6dnEIFsx\"" From f6ad06b82b9e2d63bbfd9829d9ef8387c87dbd7c Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Mon, 28 Feb 2022 17:43:18 +0200 Subject: [PATCH 2/2] Add changelog --- changelog.d/5379.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/5379.misc diff --git a/changelog.d/5379.misc b/changelog.d/5379.misc new file mode 100644 index 0000000000..d485636f10 --- /dev/null +++ b/changelog.d/5379.misc @@ -0,0 +1 @@ +Cleanup unused threads build configurations \ No newline at end of file