Commit graph

6104 commits

Author SHA1 Message Date
Bart Sopers
07d520313f Set String instead of int value for pod LOT in RileyLinkStatusGeneralFragment 2020-08-11 22:46:02 +02:00
Bart Sopers
b5d55adb2e Store PodProgressStatus in PodState 2020-08-11 21:17:37 +02:00
Bart Sopers
0584cbd6af Use PodStateManager as a source for displaying info in Omnipod tab (and some other small changes) 2020-08-11 21:00:03 +02:00
Milos Kozak
b8327f6b3a fix ABS IOB calculation 2020-08-11 14:32:48 +02:00
Bart Sopers
1b2c91a6f9 Fix message sequence numbers when resyncing nonce 2020-08-11 13:10:53 +02:00
Bart Sopers
84ce2d1790 Set pump driver to busy and set state to suspended when Pod has a fault event 2020-08-11 13:10:00 +02:00
Bart Sopers
1ba9244ecd Don't duplicately log request message when exchanging OmnipodMessage 2020-08-11 10:16:06 +02:00
Bart Sopers
0ba26e8b2c Update last failed communication time when an exception is thrown in OmnipodCommunicationManager.transportMessages and add log response from the Pod when exchanging messages 2020-08-11 10:16:05 +02:00
Andy Rozman
5e20444bf4 Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-08-10 23:07:14 +01:00
Bart Sopers
a55be8d33f - Fix local alerts
- Remove duplicate RL error from Pod tab
2020-08-10 22:27:52 +02:00
Bart Sopers
906b8c2585 Remove argument checks for piVersion in internal pod state representation 2020-08-10 20:49:48 +02:00
Bart Sopers
341474295f - Allow resetting pairingParameters in PodStateManager if the setup state is ADDRESS_ASSIGNED
- Improve pod status screen
- Improve event dispatching in AapsPodStateManager (send less events)
- Add more FIXMEs and TODOs
2020-08-10 20:15:52 +02:00
Bart Sopers
a0ca8cf9cc - Partial fix for display of RL status
- Fix IllegalStateException when AssignAddressAction is executed when an address has already been assigned
- Improve (not yet used) custom unreachable alert check
- Remove hasFixedUnreachableAlert from PumpType
- Remove omnipodPumpStatus.podAvailable in favor of PodStateManager
- Remove some unused code / comments
- Add a bunch of TODOs
2020-08-10 17:58:54 +02:00
Andy Rozman
1ebb7144ec - reenable fabric events 2020-08-10 14:18:04 +01:00
Milos Kozak
4bacfad0db fix empty mgdl local profile 2020-08-10 13:06:27 +02:00
Milos Kozak
1bbca2787b BolusWizard typographic 2020-08-10 12:35:59 +02:00
Bart Sopers
8ed802d91b Improve information on Pod tab 2020-08-09 21:03:40 +02:00
Bart Sopers
e74e80a4ce Inject RileyLinkServiceData in SetPreamble command and remove some unused code 2020-08-09 19:11:00 +02:00
Milos Kozak
817ec086a1 prevent IndexOutOfBoundsException 2020-08-09 17:43:51 +02:00
Bart Sopers
1787afda98 Daggerize AapsPodStateManager 2020-08-09 16:41:16 +02:00
Bart Sopers
da2c2110da Load pod state after initializing PodStateManager 2020-08-09 14:06:45 +02:00
Bart Sopers
050816ddf9 Restore accidentally removed code 2020-08-09 14:04:24 +02:00
Bart Sopers
62bda451a0 Prevent NPE 2020-08-09 13:36:08 +02:00
Bart Sopers
e5274e2d3a - Extract abstract class for PodStateManager on driver level
- Remove PodStateChangedHandler
- Add new fields to PodState
- Add Lot, Tid and Firmware Version in Pod tab
- Various small improvements
- Add some FIXMEs
2020-08-09 13:24:48 +02:00
Philoul
b70c6c9f1b Update BGSourceFragment
Arrow color a little bit lighter than text (don't find exact text color)
Default color for arrows swtiched to white
2020-08-09 10:49:54 +02:00
Bart Sopers
31938547a5 Fixes for PodStateManager 2020-08-08 21:38:08 +02:00
Philoul
adc71aae08 Update Overview Layout for Arrow icons
Add a directionToIcon function in BGReading
Move arrow icons to core
2020-08-08 19:09:21 +02:00
Bart Sopers
10cde3e744 More improvements for PodStateManager 2020-08-08 19:05:36 +02:00
Bart Sopers
2a73127202 Small code improvements for PodStateManager 2020-08-08 18:52:49 +02:00
Bart Sopers
76d267dce4 Prevent NPE 2020-08-08 18:44:33 +02:00
Bart Sopers
3bc53544a2 Bug fixes and improvements in PodStateManager stuff 2020-08-08 18:37:10 +02:00
Bart Sopers
b50670cceb Replace PodState with PodStateManager 2020-08-08 18:16:37 +02:00
Andy Rozman
337c61d500 - added dependency 2020-08-08 15:16:50 +01:00
Bart Sopers
a06d78b0b7 Add dagger annotations in AapsPodStateManager 2020-08-08 15:42:53 +02:00
Bart Sopers
ffb518f50f Introduce PodStateManager 2020-08-08 15:26:51 +02:00
Bart Sopers
80e8d094df Improve pod status text 2020-08-06 23:01:28 +02:00
Bart Sopers
d446751d8a Correctly load Pod state from Shared Preferences after startup 2020-08-06 20:19:15 +02:00
Andy Rozman
eafb68d496 - small change init of RfSpyReader
- changed log in RfSpy
2020-08-02 15:28:07 +01:00
Andy Rozman
11c71149ad - added firmware versions
- changed faulty init in RadioResponse
- added some logging
2020-08-02 14:46:07 +01:00
Andy Rozman
faeb2576a9 - added real pod status to pod status 2020-08-01 19:54:58 +01:00
Philoul
4bf1e886a4 Fix Plugin Preference enable for Overview 2020-08-01 19:14:38 +02:00
Andy Rozman
54d30cd8c4 - reverted some of my changes
- fixed problem that service doesn't start with AAPS, but with Tab click
2020-07-31 19:00:00 +01:00
Andy Rozman
557568b353 - fixed some cosmetical changes
- fixed problem with initialization, now MDT is initialized at once
2020-07-31 16:39:56 +01:00
Andy Rozman
20e2bf0b06 Merge branch 'dev' into medtronic_modules 2020-07-31 11:21:05 +01:00
Milos Kozak
ba4f599242 include EB in statistics 2020-07-28 13:51:03 +02:00
Milos Kozak
ed969300ef fix tests 2020-07-27 22:27:47 +02:00
Milos Kozak
400e9399a5 MinutesNumberPicker 2020-07-27 21:11:57 +02:00
Milos Kozak
b7221aa286 prevent missing pump status in NS 2020-07-27 15:21:36 +02:00
Andy Rozman
6ad35510f3 - moved tests
- some other minor changes
2020-07-26 14:36:00 +01:00
Milos Kozak
007df3aab3 make SMB prefs more clear 2020-07-26 12:56:47 +02:00
Milos Kozak
1edef7fb4e prevent stack overflow 2020-07-26 11:11:14 +02:00
Andy Rozman
996417bb47 Merge branch 'dev' into medtronic_modules 2020-07-25 00:44:09 +01:00
Andy Rozman
8e438f05fe - some changes with package fixes 2020-07-25 00:39:56 +01:00
Milos Kozak
bad7a584c6 cleanup nsclient settings 2020-07-24 13:30:19 +02:00
Milos Kozak
7bf9b8d588 better info in nsclient mode 2020-07-24 13:00:11 +02:00
Milos Kozak
80f2467694 remove logging 2020-07-24 12:42:28 +02:00
Milos Kozak
d51a7c9461 scheduleBgHistoryChange 2020-07-24 12:39:18 +02:00
Milos Kozak
6b676a1dfd prevent NPE 2020-07-24 10:18:19 +02:00
Milos Kozak
fc69e851d1
Merge pull request #2849 from dlvoy/fix-prefs-import-crash
Fix preferences import/export related crashes
2020-07-24 10:06:46 +02:00
Milos Kozak
f9806162e1 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-24 07:48:00 +02:00
Milos Kozak
0a6cd80257 fix keepalive 2020-07-24 07:47:54 +02:00
Dominik Dzienia
310c0b9137 Refactor hardcoded error messages to be translatable 2020-07-23 13:42:55 +02:00
Dominik Dzienia
3d0c214f44 Fix crash when user insist on exporting preferences while denying granting storage permission
* Handles IO errors and display toast about FS / permission errors
* Clarify text - storage permissions are needed not only for logs, but for export too
2020-07-23 13:33:15 +02:00
Dominik Dzienia
4068cd72ca Fix crash when preferences import list is opened for the second time (due to buggy implementation of ActivityResult and Contracts in early androidx)
* updated to newest version of fragments where bug is fixed
* catched exception and inform user with Toast
* refactor duplicated code in ImportExportPrefs
2020-07-23 12:59:42 +02:00
Milos Kozak
66a19cce22 remove unneeded variable 2020-07-21 22:24:13 +02:00
Milos Kozak
74ca36bb6e fix NPE 2020-07-21 22:14:46 +02:00
Milos Kozak
05eee2ebb9 fix user message time 2020-07-20 13:28:07 +02:00
Milos Kozak
35a2692d25
Merge pull request #2822 from Philoul/ProfileHelperImprovement
Profile helper UI improvement (color & icon)
2020-07-20 12:57:54 +02:00
Milos Kozak
15586abe52 fix AS calculation 2020-07-20 12:33:35 +02:00
Milos Kozak
3174b8219e
Merge pull request #2821 from Philoul/FixOverviewTBRIcon
Fix TBR icon even with 100% percent set
2020-07-20 08:14:12 +02:00
Andy Rozman
23cd1d9143 - some minor changes on dependency (removed full path)
- removed some logging
- fixed DailyTotalsDTO toString
- changed level of some logging
2020-07-18 15:18:25 +01:00
Philoul
507e04a30b Compare Profile icon and tab2 color
Change tab 2 color (to red) and Profile type label color (to red when tab 2 selected)
2020-07-17 01:09:30 +02:00
Milos Kozak
e3cd61cffc DPV profile 2020-07-16 17:30:04 +02:00
Milos Kozak
39b4eac60f add delay to executing automations 2020-07-15 22:46:59 +02:00
Philoul
61c3391eb5 Fix TBR icon even with TBR 100% set 2020-07-15 21:15:49 +02:00
Milos Kozak
9ff3011514 fix current location button 2020-07-15 20:06:45 +02:00
Milos Kozak
24f60ebc65 profile helper 2020-07-14 16:51:13 +02:00
Andy Rozman
6e50c3651d Merge branch 'dev' into medtronic_modules 2020-07-12 20:21:03 +01:00
Andy Rozman
ea80eb3c9b - created 2 modules: rileylink and medtronic
- refactored some classes
2020-07-12 20:15:11 +01:00
Milos Kozak
639e5b8302 Merge branch 'dev' into profilehelper 2020-07-09 18:59:25 +02:00
Milos Kozak
1d8120d051 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-09 18:58:58 +02:00
Milos Kozak
c2e5470da7 prevent ArrayIndexOutOfBoundsException 2020-07-09 18:52:09 +02:00
Milos Kozak
f39df8e8eb check for input data 2020-07-09 18:48:28 +02:00
Milos Kozak
4b967d237c Merge branch 'dev' into profilehelper 2020-07-09 18:40:48 +02:00
Milos Kozak
112032ab0e fix nullable params 2020-07-09 14:26:19 +02:00
Milos Kozak
9401fd0d80 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-09 14:21:58 +02:00
Milos Kozak
950e3a677b
Merge pull request #2804 from Tornado-Tim/greenbox-fix
Fix: Green Glucose Target override
2020-07-08 23:07:31 +02:00
Milos Kozak
45f168d427 fix nsclient layout 2020-07-08 22:29:26 +02:00
Tim Gunn
a93485a3c0
Fix the greenbox 2020-07-09 00:46:10 +12:00
Milos Kozak
2b7cb0d558 prevent kotlin exceptions 2020-07-07 17:16:22 +02:00
Milos Kozak
2c884821e0 ProfileHelper 2020-07-06 21:14:00 +02:00
Milos Kozak
b91f8e668a Profile comparator 2020-07-06 13:52:10 +02:00
AdrianLxM
73cb485607 Warn user of insecure fallback on missing master password and activated fingerprint 2020-07-04 21:57:27 +02:00
Milos Kozak
91bc31ba1b fix tablet mode 2020-07-04 10:22:37 +02:00
Milos Kozak
b02992e46b fix tests 2020-07-03 21:07:20 +02:00
Milos Kozak
888e7f4ab6 keep reference time for cached values 2020-07-03 20:10:47 +02:00
Milos Kozak
9c57e6b9b9 prevent NPE 2020-07-03 10:46:19 +02:00
Milos Kozak
1f71da4346 overview target logging 2020-07-03 10:38:16 +02:00
Milos Kozak
045b79d22f do not run RandomBgPlugin in main thread 2020-07-03 00:24:01 +02:00
Milos Kozak
9361010e46 do not run automation in main thread 2020-07-03 00:19:51 +02:00