Commit graph

4865 commits

Author SHA1 Message Date
Milos Kozak 11ca21ebbd automation without engineering mode 2019-09-02 08:55:08 +02:00
Milos Kozak 99b5e1e9d5 fix NPE 2019-09-02 08:44:21 +02:00
Milos Kozak 99893a3ab1 allow bypass objectives 2019-09-02 08:42:25 +02:00
Milos Kozak 12a2d789c1 convert objectives 2019-09-01 21:27:56 +02:00
Milos Kozak 2ce7ba3fc4 remove tidepool from plugin list 2019-09-01 18:09:52 +02:00
Milos Kozak 80efc9369c new objective Using AAPS 2019-09-01 13:43:11 +02:00
Milos Kozak 3274f372ef show accomplished 2019-09-01 10:33:17 +02:00
Milos Kozak 0de7413427 use constants in objectives 2019-09-01 09:59:34 +02:00
Andy Rozman d50d6087ea - changed PumpMessage to be get correct frame from 523 and 554 2019-08-31 17:32:09 +01:00
Milos Kozak e732c31043 fix NPE in APS plugins 2019-08-31 10:09:53 +02:00
Milos Kozak 5d9277abdb
Merge pull request #2006 from andyrozman/bug_1954_mdt_wrong_min_bolus_for_554
Bug 1954 mdt wrong min bolus for 554
2019-08-30 15:12:38 +02:00
aviau 125141d326
SetupWizard: only ask for patient age once 2019-08-28 23:38:23 -04:00
Milos Kozak 9d55ef9120
Merge pull request #1992 from twain47/loggerhelper-readability
Clean up log output from determine-basal.js
2019-08-28 21:03:28 +02:00
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 7d9d70fba8 better notification layout 2019-08-28 17:57:48 +02:00
Milos Kozak 47ec03efec Merge commit 'd827c10161c621664f5041b3ee586b8fe76a7707' into dev 2019-08-28 15:38:27 +02:00
Andy Rozman f0ccf57e69 - fixing reading profile 2019-08-28 14:10:28 +01:00
Milos Kozak 6f9aec95e5 fix NPE 2019-08-28 13:55:51 +02:00
Milos Kozak b9c965ac95
Merge branch 'dev' into bw 2019-08-27 21:36:51 +02:00
Milos Kozak 66512dbe38 limit TT values 2019-08-27 20:16:51 +02:00
Milos Kozak f184aa0c6a TriggerDelta show units 2019-08-27 19:35:37 +02:00
Milos Kozak 022ca2fe6e TriggerDelta default value 0 2019-08-27 19:28:28 +02:00
Milos Kozak e6ae4f03d5 fix limit values in InputBg 2019-08-27 19:07:05 +02:00
Milos Kozak 52830f620f Allow comma in NumberPicker 2019-08-27 18:07:17 +02:00
Milos Kozak 46968aa597 fix NPE 2019-08-27 09:47:18 +02:00
Milos Kozak 3fed995d51 fix disappearing save button 2019-08-26 22:40:54 +02:00
Milos Kozak 0866b480ac fix reset button in local profile 2019-08-26 20:30:00 +02:00
Milos Kozak 775214676e fix bug in TimeListEdit 2019-08-26 20:21:07 +02:00
Milos Kozak 21ee334218 workaround for https://github.com/nightscout/cgm-remote-monitor/issues/4929 2019-08-26 18:42:17 +02:00
Milos Kozak 4c7b8ef210 fast >>>Loading ...<<< notification on app start 2019-08-26 17:33:20 +02:00
Milos Kozak 1eff4697fa Fragments cleanup & Synchonized updateGui 2019-08-26 16:15:16 +02:00
Milos Kozak b04641e466 Revert "DataService as JobIntentService"
This reverts commit e0c2e7d579.
2019-08-26 15:06:34 +02:00
Brian Quinion e6994bd4b3 Clean up log output from determine-basal.js 2019-08-25 21:27:53 +01:00
Brian Quinion 157dc097d1 Clean up log output from determine-basal.js 2019-08-25 21:23:47 +01: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 c53e8d5615 lint issue fix 2019-08-24 19:33:09 +02:00
Milos Kozak 11264dff51
Merge pull request #1984 from MilosKozak/updated1976
Allow for Battery Optimization failing on some platforms
2019-08-24 19:26:40 +02:00
Milos Kozak 792a1d7ddd code cleanup 2019-08-24 18:58:17 +02:00
Milos Kozak 719f90a3ac remove ctx from PersistentNotificationPlugin 2019-08-24 18:33:04 +02:00
Milos Kozak cdb42f671f Merge branch 'dev' into pull/1975 2019-08-24 18:28:01 +02:00
Milos Kozak 0aec043696 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-08-24 17:07:32 +02:00
Milos Kozak a6ea69bad0 Cleanup 2019-08-24 10:56:36 +02:00
Milos Kozak cd550e4c0f
Merge pull request #1979 from andyrozman/bug_1972_double_bolus_fill_cancula
Fix for fill canula double bolus
2019-08-23 22:09:41 +02:00
Milos Kozak 2c712bd1c0 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-08-23 21:48:07 +02:00
Milos Kozak 6d91938b3f allow disable automation event 2019-08-23 21:48:00 +02:00
Milos Kozak 0a77fb9bcb implement percentage in wizard, refactoring to kotlin 2019-08-23 16:31:30 +02:00
Milos Kozak 40ffb6f199 force use iob when cob is selected 2019-08-22 21:33:10 +02:00
Milos Kozak 5ca170e660 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-08-22 20:33:50 +02:00
Milos Kozak d414b9b651 fixed TimeListEdit when time is localized, larger add/remove buttons 2019-08-22 20:33:18 +02:00
Brian Quinion 75be27485c Typo in battery optimization code 2019-08-22 10:29:13 +01:00
Johannes Mockenhaupt 91bd2c5b4f
Log an uncaught exception before it crashes the app.
According to https://fabric.io/kits/android/crashlytics/features (Step 3, 2nd paragraph), registering an UncaughtExceptionHandler before Fabric is set up does not interfere with Fabric.
2019-08-22 11:25:40 +02:00
Johannes Mockenhaupt fb6bcfdccd
Log an uncaught exception before it crashes the app. 2019-08-22 11:12:15 +02:00
Andy Rozman 2384573831 Fix for fill canula double bolus 2019-08-21 20:41:29 +01:00
Brian Quinion d0335e56fa Allow for Battery Optimization failing on some platforms 2019-08-21 17:45:31 +01:00
Brian Quinion 450a25c3b8 Allow for Battery Optimization failing on some platforms 2019-08-21 17:38:01 +01:00
Johannes Mockenhaupt e0421b509c
LocationService: invoke startForeground in onCreate(). 2019-08-21 17:41:54 +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 0bdaa17082 Insulin activity scale detection 2019-08-15 17:54:57 +02:00
Milos Kozak bfedc3d9d7 MedtronicFragment synchronized 2019-08-15 17:11:07 +02:00
Milos Kozak 1cb93c630d EventChargingState not extending Event 2019-08-15 17:10:36 +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 49c4e4cba1 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-08-13 08:17:05 +02:00
Milos Kozak d8795f4d80 Remove Sync button from DanaRHistoryActivity 2019-08-13 08:16:46 +02:00
Milos Kozak 899c801822 Remove unused HandlerThread 2019-08-13 08:08:59 +02:00
Milos Kozak c68c7e5cb4 Remove unneeded HandlerThreads 2019-08-13 00:01:33 +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 5b4a88ed1b remove NSClient restart receiver 2019-08-09 16:00:41 +02:00
Milos Kozak e0c2e7d579 DataService as JobIntentService 2019-08-09 14:17:17 +02:00
Milos Kozak 9d6654eecf fix SingleFragmentActivity 2019-08-08 21:16:15 +02:00
Milos Kozak dd8229ef7d MedtronicHistoryActivity extends NoSplashActivity 2019-08-08 20:59:05 +02:00
Milos Kozak d21080169d run LocationService on foreground 2019-08-08 19:53:25 +02:00
Milos Kozak f26069db00 run DummyService on start instead of NSClientService 2019-08-08 19:44:22 +02:00
Milos Kozak d467d679df
Merge pull request #1928 from triplem/firebase_events_test
disable firebase for tests
2019-08-08 19:27:37 +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 9226a561db remove butterknife from HistoryBrowseActivity 2019-08-07 16:58:57 +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 fe716bdc2e LogSettingActivity -> kotlin 2019-08-06 23:15:06 +02:00
Milos Kozak 949cde143a NSProfileFragment -> kotlin 2019-08-06 22:53:09 +02:00
Milos Kozak 73e8d21ca0 OpenAPSPlugins -> kotlin 2019-08-06 21:50:08 +02:00
Milos Kozak d2c01501a8 ConfigBuilderFragment -> kotlin 2019-08-06 20:46:35 +02:00
Milos Kozak 63e45fd549 PluginViewHolder -> kotlin 2019-08-06 20:27:17 +02:00
Milos Kozak 9b6312a495 remove dead code 2019-08-06 02:58:50 +02:00
Milos Kozak 9e962b953f eliminate PluginSwitcher 2019-08-06 02:34:57 +02:00
Milos Kozak c1a1cc3108 ProfileViewerDialog -> kotlin 2019-08-06 01:19:24 +02:00
Milos Kozak 9608f5185f lint warnings 2019-08-05 16:04:16 +02:00
Milos Kozak 89d2ff9de8 LoopFragment -> kotlin 2019-08-05 14:12:39 +02:00
AdrianLxM 8bc9828a8b
Update LocalProfileFragment.java 2019-08-04 11:44:19 +01:00
Milos Kozak 4bbb77907f separate config for pumpcontrol 2019-08-03 23:22:30 +02:00
Milos Kozak 4831eb9193 Merge branch 'dev' into batteryopt 2019-08-03 23:17:02 +02:00
Milos Kozak 49ae8747fd remove code redundancy 2019-08-03 21:22:24 +02:00
Milos Kozak 93ecd43e2e handle callback from ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS 2019-08-03 20:01:55 +02:00
Milos Kozak 81eeb66538 SDK checking cleanup 2 2019-08-03 20:00:56 +02:00
Milos Kozak c9d1cc6a24 SDK checking cleanup 2019-08-03 19:11:16 +02:00
Milos Kozak f439f1c6dd revert skippable in wizard 2019-08-03 18:54:53 +02:00
Milos Kozak 43c0ce25ba startForeground in onCreate 2019-08-03 18:19:38 +02:00
Milos Kozak e4a3b0656e ErrorHelperActivity, ErrorDialog -> kotlin 2019-08-02 22:33:35 +02:00
Milos Kozak 628adf25ba better check soundid passed to AlarmSoundService 2019-08-02 21:55:34 +02:00
Milos Kozak b572d110d8 remove splash on other activities 2019-08-02 17:15:57 +02:00
Milos Kozak a738672dbb Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-08-02 16:32:20 +02:00
Milos Kozak 442d48b4c2 fix OPAS fragments 2019-08-02 16:31:57 +02:00
Brian Quinion 0c3d3f0dd8 Make needwhitelisting skippable to avoid issues with not being able to detect step being completed 2019-08-02 14:44:39 +01:00
Brian Quinion 246186f03f Check we have battery optimisation with PowerManager (required in addition to REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission) 2019-08-02 14:13:57 +01:00
triplem c9f054bd47 disable firebase for tests 2019-08-01 21:20:17 +02:00
Milos Kozak 7db98bf810 Splash logo 2019-08-01 16:29:20 +02:00
Milos Kozak b0eecac00e BolusProgress code cleanup 2019-08-01 10:26:31 +02:00
Paulus d827c10161 CR #1903 initial commit 2019-08-01 00:47:57 +02:00
Milos Kozak 32ff72b620
Merge pull request #1923 from jotomo/rotating-bolus-progress-dialog
BolusProgressDialog: persist/resurrect state message across restarts.
2019-07-31 19:15:01 +02:00
Johannes Mockenhaupt 056125ffb3
BolusProgressDialog: persist/resurrect state message across restarts.
Intents to solve #1909.
2019-07-31 18:48:31 +02:00
Milos Kozak 0d9578763d fix warnClock from NS 2019-07-31 15:11:20 +02:00
Milos Kozak 978b68eee7 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-07-31 14:56:39 +02:00
Milos Kozak 8290d5a954 fix issuing another SMB is one is currently running 2019-07-31 14:56:30 +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 27ec907611 fix NPE in Automation 2019-07-29 23:48:23 +02:00
Milos Kozak 6daba3b9e7 fix crash in NumberPicker 2019-07-29 23:24:55 +02:00
Milos Kozak c0ec445fbe Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-07-29 23:21:14 +02:00
Milos Kozak 2fbc9be152 fix Tidepool crash 2019-07-29 23:20:44 +02:00
Milos Kozak 4834a2ba7c fix adding zero deviations 2019-07-29 16:36:37 +02:00
Milos Kozak b518077c50 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-07-28 13:26:32 +02:00
Milos Kozak 68d9a5af70 prevent NPE in test 2019-07-28 13:26:15 +02:00
Milos Kozak e98ae5078f
Merge pull request #1857 from MilosKozak/iobfix
calculate iob prediction based on autosens
2019-07-28 11:38:21 +02: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 7db694044d Merge branch 'dev' into iobfix 2019-07-28 01:49:52 +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
Milos Kozak b448bbe670
Merge branch 'dev' into signature_verifier 2019-07-26 22:28:22 +02:00
Milos Kozak 3b2c9248a1 remove forgotten file 2019-07-26 22:20:02 +02:00
Milos Kozak 48316dbd4c fix calculation, conditional rendering 2019-07-26 20:30:58 +02:00
Milos Kozak 595bf0314c Merge branch 'dev' into iobfix 2019-07-26 00:39:40 +02:00
Milos Kozak 7735612daf
Merge pull request #1888 from MilosKozak/bwfix
Bolus wizard confirmation
2019-07-25 23:59:41 +02:00
Milos Kozak 76439777b0 Better bolus wizard warning 2019-07-25 23:32:00 +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