- fix after merge
This commit is contained in:
parent
4c0ac4ec02
commit
404d6b8530
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.content.ServiceConnection
|
import android.content.ServiceConnection
|
||||||
import android.text.format.DateFormat
|
import android.text.format.DateFormat
|
||||||
|
import com.google.gson.GsonBuilder
|
||||||
import dagger.android.HasAndroidInjector
|
import dagger.android.HasAndroidInjector
|
||||||
import info.nightscout.androidaps.data.DetailedBolusInfo
|
import info.nightscout.androidaps.data.DetailedBolusInfo
|
||||||
import info.nightscout.androidaps.data.PumpEnactResult
|
import info.nightscout.androidaps.data.PumpEnactResult
|
||||||
|
@ -243,7 +244,7 @@ abstract class PumpPluginAbstract protected constructor(
|
||||||
val extended = JSONObject()
|
val extended = JSONObject()
|
||||||
try {
|
try {
|
||||||
battery.put("percent", pumpStatusData.batteryRemaining)
|
battery.put("percent", pumpStatusData.batteryRemaining)
|
||||||
status.put("status", pumpStatusData.pumpStatusType.status)
|
status.put("status", pumpStatusData.pumpRunningState.status)
|
||||||
extended.put("Version", version)
|
extended.put("Version", version)
|
||||||
try {
|
try {
|
||||||
extended.put("ActiveProfile", profileName)
|
extended.put("ActiveProfile", profileName)
|
||||||
|
|
Loading…
Reference in a new issue