fix logging lambda
This commit is contained in:
parent
5024db6748
commit
8e95296bf7
3 changed files with 7 additions and 7 deletions
|
@ -136,12 +136,12 @@ class MainActivity : NoSplashAppCompatActivity() {
|
||||||
if (it.recreate) recreate()
|
if (it.recreate) recreate()
|
||||||
else setupViews()
|
else setupViews()
|
||||||
setWakeLock()
|
setWakeLock()
|
||||||
}) { fabricPrivacy::logException }
|
}, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
disposable.add(rxBus
|
disposable.add(rxBus
|
||||||
.toObservable(EventPreferenceChange::class.java)
|
.toObservable(EventPreferenceChange::class.java)
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe({ processPreferenceChange(it) }) { fabricPrivacy::logException }
|
.subscribe({ processPreferenceChange(it) }, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
if (!sp.getBoolean(R.string.key_setupwizard_processed, false) && !isRunningRealPumpTest()) {
|
if (!sp.getBoolean(R.string.key_setupwizard_processed, false) && !isRunningRealPumpTest()) {
|
||||||
val intent = Intent(this, SetupWizardActivity::class.java)
|
val intent = Intent(this, SetupWizardActivity::class.java)
|
||||||
|
|
|
@ -168,7 +168,7 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
if (it.cause is EventCustomCalculationFinished) {
|
if (it.cause is EventCustomCalculationFinished) {
|
||||||
updateGUI("EventAutosensCalculationFinished", bgOnly = false)
|
updateGUI("EventAutosensCalculationFinished", bgOnly = false)
|
||||||
}
|
}
|
||||||
}) { fabricPrivacy::logException }
|
}, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
disposable.add(rxBus
|
disposable.add(rxBus
|
||||||
.toObservable(EventAutosensBgLoaded::class.java)
|
.toObservable(EventAutosensBgLoaded::class.java)
|
||||||
|
@ -178,12 +178,12 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
if (it.cause is EventCustomCalculationFinished) {
|
if (it.cause is EventCustomCalculationFinished) {
|
||||||
updateGUI("EventAutosensCalculationFinished", bgOnly = true)
|
updateGUI("EventAutosensCalculationFinished", bgOnly = true)
|
||||||
}
|
}
|
||||||
}) { fabricPrivacy::logException }
|
}, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
disposable.add(rxBus
|
disposable.add(rxBus
|
||||||
.toObservable(EventIobCalculationProgress::class.java)
|
.toObservable(EventIobCalculationProgress::class.java)
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe({ overview_iobcalculationprogess?.text = it.progress }) { fabricPrivacy::logException }
|
.subscribe({ overview_iobcalculationprogess?.text = it.progress }, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
disposable.add(rxBus
|
disposable.add(rxBus
|
||||||
.toObservable(EventRefreshOverview::class.java)
|
.toObservable(EventRefreshOverview::class.java)
|
||||||
|
@ -193,7 +193,7 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
prepareGraphs()
|
prepareGraphs()
|
||||||
updateGUI("EventRefreshOverview", bgOnly = false)
|
updateGUI("EventRefreshOverview", bgOnly = false)
|
||||||
}
|
}
|
||||||
}) { fabricPrivacy::logException }
|
}, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
if (start == 0L) {
|
if (start == 0L) {
|
||||||
// set start of current day
|
// set start of current day
|
||||||
|
|
|
@ -44,7 +44,7 @@ class DummyService : DaggerService() {
|
||||||
.subscribe({
|
.subscribe({
|
||||||
aapsLogger.debug(LTag.CORE, "EventAppExit received")
|
aapsLogger.debug(LTag.CORE, "EventAppExit received")
|
||||||
stopSelf()
|
stopSelf()
|
||||||
}) { fabricPrivacy::logException }
|
}, fabricPrivacy::logException )
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue