Merge pull request #111 from Philoul/Remove_Patch_Sensor_Bat_Level
Remove patch for sensor batery level in Action Tab / Careportal
This commit is contained in:
commit
538f488216
|
@ -46,7 +46,7 @@ class XdripPlugin @Inject constructor(
|
||||||
bgReading.direction = bundle.getString(Intents.EXTRA_BG_SLOPE_NAME)
|
bgReading.direction = bundle.getString(Intents.EXTRA_BG_SLOPE_NAME)
|
||||||
bgReading.date = bundle.getLong(Intents.EXTRA_TIMESTAMP)
|
bgReading.date = bundle.getLong(Intents.EXTRA_TIMESTAMP)
|
||||||
bgReading.raw = bundle.getDouble(Intents.EXTRA_RAW)
|
bgReading.raw = bundle.getDouble(Intents.EXTRA_RAW)
|
||||||
//if (bundle.containsKey(Intents.EXTRA_SENSOR_BATTERY)) sensorBatteryLevel = bundle.getInt(Intents.EXTRA_SENSOR_BATTERY)
|
if (bundle.containsKey(Intents.EXTRA_SENSOR_BATTERY)) sensorBatteryLevel = bundle.getInt(Intents.EXTRA_SENSOR_BATTERY)
|
||||||
val source = bundle.getString(Intents.XDRIP_DATA_SOURCE_DESCRIPTION, "no Source specified")
|
val source = bundle.getString(Intents.XDRIP_DATA_SOURCE_DESCRIPTION, "no Source specified")
|
||||||
setSource(source)
|
setSource(source)
|
||||||
MainApp.getDbHelper().createIfNotExists(bgReading, "XDRIP")
|
MainApp.getDbHelper().createIfNotExists(bgReading, "XDRIP")
|
||||||
|
|
Loading…
Reference in a new issue