From a91d4fb8ce2e76c245fcac75290b5bf5125ab83f Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sun, 10 Oct 2021 18:02:05 +0200 Subject: [PATCH 1/3] add rxDogtag dependencies --- core/core_dependencies.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core_dependencies.gradle b/core/core_dependencies.gradle index fbfb5ce29e..f7673afa85 100644 --- a/core/core_dependencies.gradle +++ b/core/core_dependencies.gradle @@ -43,6 +43,7 @@ dependencies { api "io.reactivex.rxjava2:rxandroid:$rxandroid_version" api "org.apache.commons:commons-lang3:$commonslang3_version" api "commons-codec:commons-codec:$commonscodec_version" + api "com.uber.rxdogtag:rxdogtag:2.0.1" //CryptoUtil api 'com.madgag.spongycastle:core:1.58.0.0' @@ -106,4 +107,4 @@ dependencies { // Phone checker // updating to 0.0.9 prevents AAPS from build api 'com.scottyab:rootbeer-lib:0.0.8' -} \ No newline at end of file +} From 95f66f122c4a7c943b7d6b9141beeac1046f665d Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sun, 10 Oct 2021 18:05:18 +0200 Subject: [PATCH 2/3] RxDogtag for RxJava 2 --- core/core_dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core_dependencies.gradle b/core/core_dependencies.gradle index f7673afa85..bd18f7fe52 100644 --- a/core/core_dependencies.gradle +++ b/core/core_dependencies.gradle @@ -43,7 +43,7 @@ dependencies { api "io.reactivex.rxjava2:rxandroid:$rxandroid_version" api "org.apache.commons:commons-lang3:$commonslang3_version" api "commons-codec:commons-codec:$commonscodec_version" - api "com.uber.rxdogtag:rxdogtag:2.0.1" + api "com.uber.rxdogtag:rxdogtag:1.0.1" //CryptoUtil api 'com.madgag.spongycastle:core:1.58.0.0' From 78001e7f994e696f6eaa67023f76b20496fd7732 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sun, 10 Oct 2021 18:05:55 +0200 Subject: [PATCH 3/3] Hook in RxDogtag --- app/src/main/java/info/nightscout/androidaps/MainApp.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.kt b/app/src/main/java/info/nightscout/androidaps/MainApp.kt index f3a0f03ec4..ef511a2046 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.kt +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.kt @@ -6,6 +6,7 @@ import android.content.IntentFilter import android.net.ConnectivityManager import android.net.wifi.WifiManager import android.os.Build +import com.uber.rxdogtag.RxDogTag import dagger.android.AndroidInjector import dagger.android.DaggerApplication import info.nightscout.androidaps.database.AppRepository @@ -62,6 +63,7 @@ class MainApp : DaggerApplication() { override fun onCreate() { super.onCreate() aapsLogger.debug("onCreate") + RxDogTag.install() update(this) var gitRemote: String? = BuildConfig.REMOTE @@ -134,4 +136,4 @@ class MainApp : DaggerApplication() { keepAliveManager.cancelAlarm(this) super.onTerminate() } -} \ No newline at end of file +}