Commit graph

2519 commits

Author SHA1 Message Date
AdrianLxM
3121fa3e84
use DateUtil#untilString 2017-10-29 02:07:17 +02:00
AdrianLxM
9e8752b096
timeframe strings 2017-10-29 02:06:06 +02:00
AdrianLxM
7d82870203
Show remaining time of TT 2017-10-28 02:16:30 +02:00
AdrianLxM
88e22c5f17 NSTreatments NPE fix
When the dialog was open and the phone goes to sleep/lock screen, Android may garbage collect and options is no longer available. -> NPE

I think as quick fix it is ok to not show a dialog at all. If the user stopped using the dialog and lets the phone sleep for a longer while with the phone going to sleep... he can open it again, if he wants it.
2017-10-27 16:56:17 +02:00
Milos Kozak
b5f843d901 getLastSBMTime -> getLastBolusTime 2017-10-26 22:12:15 +02:00
Milos Kozak
dfd657ce2d remove wrong imports 2017-10-26 21:29:38 +02:00
Milos Kozak
e71ce02131 fix merge conflict 2017-10-26 21:23:23 +02:00
Milos Kozak
8a6e811c95 Merge branch 'dev' into dev2 2017-10-26 21:13:10 +02:00
Milos Kozak
ae47183459 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2017-10-26 21:12:37 +02:00
Milos Kozak
26b216a8ee fix RS response code 2017-10-26 20:40:24 +02:00
Milos Kozak
3389a5da97 Merge pull request #486 from MilosKozak/servicestart
Servicestart
2017-10-26 18:35:25 +02:00
Johannes Mockenhaupt
91df07ca8f
Cleanup. 2017-10-26 17:35:46 +02:00
Johannes Mockenhaupt
79316bf948
Revert "Debug: wider thread column in log to improve readability."
This reverts commit 5fe2d19e6363c4efcaad90fe5aa627b58d230cd1.
2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
e5cb5386e3
Disable event logging by default. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
82dd8c2c5e
Log summary after 10s, then every 60s. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
785a8f21de
Log receivers of event. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
9a1d7fd512
Log source of event. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
a6ae3ddd2d
Debug: wider thread column in log to improve readability. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
d830096482
Better log messages for events. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
9d10563bd9
Group events in type hierarchy related to the LoopPlugin. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
3e24a6069d
Remove dead NSPingAck class. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
302ed69564
Let event classes extend Event(UpdageGui) classes. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
8ad223e5e1
Add base event class. 2017-10-26 16:54:46 +02:00
Johannes Mockenhaupt
5a446c9ab5
Log posted events. 2017-10-26 16:54:46 +02:00
AdrianLxM
707d2df345 No explicit service start 2017-10-25 20:10:59 +02:00
Johannes Mockenhaupt
4767809931 Start KeepAliveService after pump init. 2017-10-25 20:10:24 +02:00
AdrianLxM
41dcf8d6f4 Merge remote-tracking branch 'milosremote/dev' into servicestart 2017-10-25 19:57:00 +02:00
AdrianLxM
f3872cd934 Merge pull request #465 from jotomo/j2v8-removal
J2v8 removal
2017-10-25 19:56:29 +02:00
Milos Kozak
3e6fcabfab Merge branch 'dev2' into smb 2017-10-25 11:38:45 +02:00
Milos Kozak
4f0bbda847 Merge branch 'dev' into dev2 2017-10-25 11:38:12 +02:00
Milos Kozak
7c99157d89 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2017-10-25 11:37:19 +02:00
Milos Kozak
606973d4ad use max absorption time for AAPS and weighted average sensitivity detection 2017-10-25 11:37:05 +02:00
Johannes Mockenhaupt
9d4bba4190 Merge branch 'fix-predictions-cast' into 'smb'
Remove cast to DetermineBasalResultAMA for predictions.

See merge request MilosKozak/AndroidAPS!367
2017-10-24 21:59:37 +00:00
Johannes Mockenhaupt
551ca92201
Remove cast to DetermineBasalResultAMA for predictions. 2017-10-24 23:14:45 +02:00
Milos Kozak
9de332e997 Merge branch 'dev2' into smb 2017-10-24 21:09:17 +02:00
Milos Kozak
f673d3a721 Merge branch 'dev' into dev2 2017-10-24 21:08:54 +02:00
Milos Kozak
8b020d72cd Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2017-10-24 21:08:13 +02:00
Milos Kozak
2fb707b9ed log.debug -> log.error on RS comm 2017-10-24 21:08:03 +02:00
Milos Kozak
2925c16fb9 comment minDeviationSlope 2017-10-24 17:50:44 +02:00
Milos Kozak
29b075e700 display minDeviationSlope 2017-10-24 17:15:49 +02:00
Milos Kozak
fe0376206e fix merge conflict 2017-10-24 11:46:27 +02:00
Milos Kozak
441c2beffc read status after bolus 2017-10-24 09:19:03 +02:00
AdrianLxM
afd5b521ee Merge branch 'smb-iobfix' into 'smb'
Smb iobfix

See merge request MilosKozak/AndroidAPS!366
2017-10-24 06:17:52 +00:00
AdrianLxM
337f31382f Merge branch 'smb-rhino' into 'smb'
SMB Rhino

See merge request MilosKozak/AndroidAPS!365
2017-10-23 22:34:30 +00:00
Milos Kozak
1ad409754f move preparing graph series to extra class #2 2017-10-23 22:41:12 +02:00
Milos Kozak
d180d088f0 fix merge conflict 2017-10-22 21:11:31 +02:00
AdrianLxM
4e5a374b9c include smb into basal iob 2017-10-22 02:20:11 +02:00
AdrianLxM
755c82898c SMB Rhino 2017-10-21 22:38:07 +02:00
Milos Kozak
3cdca93b30 RS connectivity & bolus improvement 2017-10-21 20:09:21 +02:00
Milos Kozak
7dd678c917 Better bolusing with different speeds (R & Rv2) 2017-10-21 18:55:56 +02:00