Commit graph

140 commits

Author SHA1 Message Date
Andy Rozman b48fec4624 - changed bolus step to 0.05 for 523 and 554 2019-08-28 19:29:18 +01:00
Andy Rozman e1b24eb900 Merge branch 'dev' into bug_1954_mdt_wrong_min_bolus_for_554 2019-08-28 19:24:19 +01:00
Milos Kozak 6f9aec95e5 fix NPE 2019-08-28 13:55:51 +02:00
Milos Kozak 46968aa597 fix NPE 2019-08-27 09:47:18 +02:00
Milos Kozak 1eff4697fa Fragments cleanup & Synchonized updateGui 2019-08-26 16:15:16 +02:00
Andy Rozman 2569e66bce - minor change. New absoluteValue is now put through pumpType.determineCorreectBasalValue method, so that we get correct value 2019-08-25 19:25:36 +01:00
Andy Rozman d4d1110d68 - added fake method TBR Percent. If pecent is 0, it calls absolute methods with 0, if not, it calculates value, writes log and then starts absolute method 2019-08-25 14:48:00 +01:00
Milos Kozak a6ea69bad0 Cleanup 2019-08-24 10:56:36 +02:00
Andy Rozman 7946e3ad73 - changed bolus configuration for 523 and 554 2019-08-20 09:00:34 +01:00
Andy Rozman b1486c5ed6 - fixing the problem with minimal bolus that can be used for Medtronic Pumps. 2019-08-18 09:16:16 +01:00
Milos Kozak bfedc3d9d7 MedtronicFragment synchronized 2019-08-15 17:11:07 +02:00
Milos Kozak b5bc80bc52 Merge branch 'pull/1956' into dev 2019-08-15 14:40:19 +02:00
Milos Kozak 56d6a04e2b MDT prefs translatable=false 2019-08-14 17:49:01 +02:00
Milos Kozak 156ff4ec93 Remove HandlerThread from MedtronicHistoryActivity 2019-08-13 08:20:20 +02:00
Milos Kozak d8795f4d80 Remove Sync button from DanaRHistoryActivity 2019-08-13 08:16:46 +02:00
Andy Rozman a1bbf29230 - added check before bolus is attempted, if we have enough in reservoir (from local info, we don't query the pump,
while this might not always be 100% correct, it is updated every hour (if under 50 U and every 4h if over
50U and every 15 minutes if under 20U, so it should be accurate, information is not accurate only if you cancel bolus midway...
2019-08-12 17:20:38 +01:00
Milos Kozak dd8229ef7d MedtronicHistoryActivity extends NoSplashActivity 2019-08-08 20:59:05 +02:00
Milos Kozak 2b3dc396fe EventMedtronicDeviceStatusChange fix 2019-08-08 18:48:16 +02:00
Milos Kozak 6802c0ea85 fix activities 2019-08-08 18:39:56 +02:00
Milos Kozak b653b5096d remove butterknife from gradle 2019-08-07 23:05:05 +02:00
Milos Kozak 829aa98097 MedtronicFragment -> kotlin 2019-08-07 23:00:02 +02:00
Milos Kozak 20859e9662 fix Fragment Rx lifecycle 2019-08-07 19:44:40 +02:00
Milos Kozak 858759873a MedtronicFragment remove static variables 2019-08-07 18:45:33 +02:00
Milos Kozak 607d7c4b24 Merge remote-tracking branch 'origin/dev' into loopkotlin 2019-08-07 16:23:03 +02:00
Milos Kozak 4f562d8f86 fix crash in Dana fragment 2019-08-07 16:22:33 +02:00
Milos Kozak 8f3c4e25c5 DanaRFragment -> kotlin 2019-08-07 15:50:37 +02:00
Andy Rozman 163c043492 - preliminary fix for #1940 (if calculated voltage is under 0, we set it to 1%) 2019-08-07 11:59:47 +01:00
Andy Rozman d06c5fdcc8 - fixed 4 (or more) crashalytics problems 2019-08-07 11:48:37 +01:00
Milos Kozak a0eef61745 remove @BindView from RileyLinkStatusActivity 2019-08-06 23:22:56 +02:00
Milos Kozak 63e45fd549 PluginViewHolder -> kotlin 2019-08-06 20:27:17 +02:00
Milos Kozak 9e962b953f eliminate PluginSwitcher 2019-08-06 02:34:57 +02:00
Milos Kozak 4831eb9193 Merge branch 'dev' into batteryopt 2019-08-03 23:17:02 +02:00
Milos Kozak 81eeb66538 SDK checking cleanup 2 2019-08-03 20:00:56 +02:00
Milos Kozak 628adf25ba better check soundid passed to AlarmSoundService 2019-08-02 21:55:34 +02:00
Andy Rozman c8faf49cd7 - changed bolus size for medtronic 512- 522 models 2019-07-31 11:56:21 +01:00
Andy Rozman de00fb83ea Fixed problems found on Crashalytics (5 of them) 2019-07-30 10:33:30 +01:00
Milos Kozak 53b9d97f5d
Merge pull request #1893 from MilosKozak/lint
lint recommendations - code style
2019-07-28 10:28:17 +02:00
Milos Kozak 74bcf3e73e Rx drivers: set new TBR if running is expiring 2019-07-28 01:37:44 +02:00
Milos Kozak f58a219d2d pass enforceNew properly 2019-07-28 01:22:00 +02:00
Milos Kozak 4bf1b777a2 Rx drivers: set new TBR if running is expiring 2019-07-27 23:59:27 +02:00
Milos Kozak 84ecb92771 lint recommendations 2019-07-27 19:56:07 +02:00
Johannes Mockenhaupt d9de09d7f0
Confirm pump plugin activation for all hardware pumps (MDT, Insight). 2019-07-25 22:30:47 +02:00
Johannes Mockenhaupt cf1bcf9943
Dedup pump activation confirmation. 2019-07-25 22:30:25 +02:00
Andy Rozman 29d0545d47 - fixed manufacturer and model 2019-07-25 13:41:57 +01:00
Milos Kozak 51bc5d3618 Merge branch 'dev' into medtronic_andy_merge 2019-07-25 13:40:37 +02:00
Andy Rozman b1320c4bcb - added keys for preferences and fixes on all other places 2019-07-23 16:09:56 +01:00
Milos Kozak 29c8740e08
Merge pull request #1879 from MilosKozak/psfix
ProfileSwitch validation
2019-07-23 09:18:12 +02:00
Milos Kozak 12f436c681 hide ok button on wrong input 2019-07-22 13:58:50 +02:00
Andy Rozman 7de907f3d6 - fixed NPE in RiuleyLinkStatus History
- added 2 Broadcast Receivers:
    - TimeDateOrTZChangeReceiver, this one in registered with MainApp in MainApp
    - RileyLinkBluetoothReceiver, this one is registered with MainApp from RileyLinkService
2019-07-18 18:09:49 +01:00
Andy Rozman cd4868f781 - changed manufacturer() and model() methods in PumpInterface... both now return enums...
- manufacturer can be used with ManufacturerType.getDescription()
- model can be used with PumpType.getModel()
2019-07-16 21:12:36 +01:00