From cda45887675c1670536627951344b6135db3f277 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Fri, 3 Mar 2023 17:16:13 +0600 Subject: [PATCH 1/2] Disable telemtry initiate & calling --- app/src/main/java/foundation/e/drive/EdriveApplication.java | 2 -- app/src/main/java/foundation/e/drive/utils/ReleaseTree.java | 5 ----- 2 files changed, 7 deletions(-) diff --git a/app/src/main/java/foundation/e/drive/EdriveApplication.java b/app/src/main/java/foundation/e/drive/EdriveApplication.java index 5346c468..1b69053b 100644 --- a/app/src/main/java/foundation/e/drive/EdriveApplication.java +++ b/app/src/main/java/foundation/e/drive/EdriveApplication.java @@ -23,7 +23,6 @@ import foundation.e.drive.services.SynchronizationService; import foundation.e.drive.utils.AppConstants; import foundation.e.drive.utils.CommonUtils; import foundation.e.drive.utils.ReleaseTree; -import foundation.e.lib.telemetry.Telemetry; import timber.log.Timber; import static timber.log.Timber.DebugTree; @@ -44,7 +43,6 @@ public class EdriveApplication extends Application { if (BuildConfig.DEBUG) { Timber.plant(new DebugTree()); } else { - Telemetry.INSTANCE.init(BuildConfig.SENTRY_DSN, this); Timber.plant(new ReleaseTree()); } Timber.tag("EdriveApplication"); diff --git a/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java b/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java index dbc19e12..48e3385d 100644 --- a/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java +++ b/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java @@ -12,7 +12,6 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import foundation.e.lib.telemetry.Telemetry; import timber.log.Timber; /** @@ -31,10 +30,6 @@ public class ReleaseTree extends Timber.DebugTree{ return; } - if (priority >= Log.WARN) { - Telemetry.INSTANCE.reportMessage(tag + " " + message); - } - super.log(priority, tag, message, throwable); } } -- GitLab From cea2edb71076630620020bd353455e8cecb63496 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Fri, 3 Mar 2023 17:16:58 +0600 Subject: [PATCH 2/2] Bump the version to 1.3.6 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 36932e01..cf453a6f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,7 @@ plugins { def versionMajor = 1 def versionMinor = 3 -def versionPatch = 5 +def versionPatch = 6 def getTestProp(String propName) { def result = "" -- GitLab