Commit graph

9827 commits

Author SHA1 Message Date
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
ae86e7fc06 - change version 2020-08-11 00:40:26 +01:00
Milos Kozak
272f91d90b better check for RS v3 failed encryption 2020-08-11 00:21:03 +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
Philoul
89a678f238 Restore refresh file 2020-08-10 19:59:09 +02:00
Philoul
8c0271df2b Replace 3 notification icons
Note Blue notif_icon.png file not replaced because can't have blue nitofication icon with vector ???
remove a forgotten unused icon (refresh.xml)
2020-08-10 19:07:02 +02:00
Philoul
22fc0ca6ff remove a forgotten unused icon (refresh.xml) 2020-08-10 18:47:44 +02:00
Philoul
d20115cc11 move 4 icons from drawable-anydpi to drawable 2020-08-10 18:46:57 +02:00
Philoul
4cb7f45ad1 Replace ic_exit_to_app icon 2020-08-10 18:45:47 +02:00
Philoul
374e95460d Replace 4 alerts icons (not tested)
These icons are used in pump/insight/utils/AlertUtils.kt file
=> I don't know how to test them so can't verify if size is ok
ic_error ic_maintenance ic_warning ic_reminder
2020-08-10 18:45:18 +02:00
Philoul
7829db3347 Replace Settings icon
Icons are not identical according to resolution
2020-08-10 18:44:22 +02:00
Philoul
8edb5c15db removed icon_home_loop (unused)
svg file created so easy to add again a vector version if necessary
2020-08-10 18:43:25 +02:00
Philoul
5015383f2a Remove unused icons 2020-08-10 18:43:13 +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
bartsopers
4d04353e7b
Merge pull request #129 from AAPS-Omnipod/omnipod_eros_dev_podstate
Rework Pod state management
2020-08-09 21:06:39 +02:00
Bart Sopers
8ed802d91b Improve information on Pod tab 2020-08-09 21:03:40 +02:00
Bart Sopers
4724cf6048 Fix AapsPodStateManagerTest 2020-08-09 20:27:21 +02:00
Milos Kozak
2c8e39af7c
Merge pull request #2885 from bartsopers/fix_rl_set_preamble_command
Inject dependencies in SetPreamble RL command
2020-08-09 20:18:58 +02:00
Bart Sopers
1172aa753e Inject dependencies in SetPreamble RL command 2020-08-09 19:37:01 +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
Milos Kozak
4a0dbe6235
Merge pull request #2883 from Philoul/BG_Arrows_to_Vector_icons
Switch Bg arrows from text to vector icons
2020-08-09 17:09:11 +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
d89d760a5e Remove old TextView 2020-08-09 10:59:56 +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
Philoul
6d63bdca07 Add 7 trend arrows icons to replace text 2020-08-08 17:53:28 +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