Commit graph

6139 commits

Author SHA1 Message Date
Milos Kozak 06d69ea252 fix test 2019-08-24 17:43:21 +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
Bart Sopers 089f2313eb Merge branch 'dev' into omnipod_eros_bart 2019-08-23 23:35:41 +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 6ed0f9b40e more detailed message 2019-08-22 20:55:58 +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
Milos Kozak ac8dffe44c
Merge pull request #1977 from jotomo/tombstone-writings
Log an uncaught exception before it crashes the app.
2019-08-22 13:56:47 +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
Milos Kozak 86fa8199b6
New Crowdin translations (#1973)
* New translations strings.xml (French)

* New translations strings.xml (Greek)
2019-08-22 10:41:06 +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
Milos Kozak 2f3a2116fb gradle update to 3.5.0 2019-08-21 11:08:23 +02: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 e6c8ecdc2f 2.4-dev-b 2019-08-15 15:32:01 +02:00
Milos Kozak 6c2fcc3c01
New Crowdin translations (#1960)
* New translations strings.xml (Dutch)

* New translations strings.xml (Romanian)
2019-08-15 14:41:03 +02:00
Milos Kozak b5bc80bc52 Merge branch 'pull/1956' into dev 2019-08-15 14:40:19 +02:00
Milos Kozak 956b9947b6 fix string format 2019-08-15 14:39:42 +02:00
Milos Kozak 3de3c27218
New Crowdin translations (#1957)
* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Swedish)

* New translations strings.xml (Portuguese, Brazilian)
2019-08-14 18:17:06 +02:00
Milos Kozak 56d6a04e2b MDT prefs translatable=false 2019-08-14 17:49:01 +02:00
Andy Rozman 3203ad5cde - added dash package so that I can split the two implementations
- working on omnipod implementation
- changed display fragment
2019-08-14 16:22:19 +01:00
Andy Rozman f81df4fed1 - small change 2019-08-13 17:55:39 +01:00
Andy Rozman 9a1262cc4e - refactoring to use OmnipodCommunicationManager with existing code
- added kt for OmnipodFragment
2019-08-13 12:30:23 +01: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
Milos Kozak 8615dacf9e
New Crowdin translations (#1947)
* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Swedish)
2019-08-12 23:07:26 +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
Bart Sopers aa15c80924 Add files from Omnipod test app 2019-08-11 22:59:18 +02:00
Bart Sopers ca325c18e9 Merge branch 'omnipod_eros_andy' into omnipod_eros_bart 2019-08-11 15:56:45 +02: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 7eafb76f3e
Merge pull request #1939 from MilosKozak/loopkotlin
Remove butterknife dependency
2019-08-08 19:24:28 +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
Andy Rozman 14fa8a9eb0 - added interface 2019-08-07 23:44:41 +01:00
Milos Kozak fa9bc3af97 2.4-dev-a 2019-08-07 23:05:33 +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
AdrianLxM 82323c3c37
Use AppCompatImageButton 2019-08-07 17:36:48 +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
Milos Kozak 97e39c0bf1
Merge pull request #1942 from andyrozman/mdt_crashalytics_2
- fixed 4 (or more) crashalytics problems
2019-08-07 13:26:41 +02:00
Milos Kozak 1b09a467cf
New Crowdin translations (#1941)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2019-08-07 13:26:24 +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
Milos Kozak 9d27b5f83e
New Crowdin translations (#1926)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Bulgarian)

* New translations insight_alert_descriptions.xml (Lithuanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations insight_exceptions.xml (Portuguese)

* New translations insight_alert_titles.xml (Portuguese)

* New translations insight_alert_descriptions.xml (Portuguese)

* New translations insight_alert_codes.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations insight_exceptions.xml (Polish)

* New translations insight_alert_titles.xml (Polish)

* New translations insight_alert_descriptions.xml (Polish)

* New translations insight_alert_codes.xml (Polish)

* New translations insight_exceptions.xml (Lithuanian)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations insight_alert_codes.xml (Lithuanian)

* New translations insight_alert_descriptions.xml (Portuguese, Brazilian)

* New translations insight_exceptions.xml (Korean)

* New translations insight_alert_titles.xml (Korean)

* New translations insight_alert_descriptions.xml (Korean)

* New translations insight_alert_codes.xml (Korean)

* New translations insight_exceptions.xml (Japanese)

* New translations insight_alert_titles.xml (Japanese)

* New translations insight_alert_descriptions.xml (Japanese)

* New translations insight_alert_codes.xml (Japanese)

* New translations insight_exceptions.xml (Italian)

* New translations insight_alert_titles.xml (Italian)

* New translations insight_alert_descriptions.xml (Italian)

* New translations insight_alert_codes.xml (Italian)

* New translations insight_alert_codes.xml (Portuguese, Brazilian)

* New translations insight_alert_titles.xml (Portuguese, Brazilian)

* New translations insight_alert_titles.xml (Irish)

* New translations insight_exceptions.xml (Slovak)

* New translations insight_alert_titles.xml (Turkish)

* New translations insight_alert_descriptions.xml (Turkish)

* New translations insight_alert_codes.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations insight_exceptions.xml (Swedish)

* New translations insight_alert_titles.xml (Swedish)

* New translations insight_alert_descriptions.xml (Swedish)

* New translations insight_alert_codes.xml (Swedish)

* New translations insight_exceptions.xml (Spanish)

* New translations insight_alert_titles.xml (Spanish)

* New translations insight_alert_descriptions.xml (Spanish)

* New translations insight_alert_codes.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations insight_alert_titles.xml (Slovak)

* New translations insight_exceptions.xml (Portuguese, Brazilian)

* New translations insight_alert_descriptions.xml (Slovak)

* New translations insight_alert_codes.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations insight_exceptions.xml (Russian)

* New translations insight_alert_titles.xml (Russian)

* New translations insight_alert_descriptions.xml (Russian)

* New translations insight_alert_codes.xml (Russian)

* New translations strings.xml (Russian)

* New translations insight_exceptions.xml (Romanian)

* New translations insight_alert_titles.xml (Romanian)

* New translations insight_alert_descriptions.xml (Romanian)

* New translations insight_alert_codes.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations insight_exceptions.xml (Irish)

* New translations insight_alert_descriptions.xml (Irish)

* New translations strings.xml (Italian)

* New translations insight_alert_titles.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations insight_exceptions.xml (Croatian)

* New translations insight_alert_titles.xml (Croatian)

* New translations insight_alert_descriptions.xml (Croatian)

* New translations insight_alert_codes.xml (Croatian)

* New translations insight_exceptions.xml (Chinese Simplified)

* New translations insight_alert_titles.xml (Chinese Simplified)

* New translations insight_alert_descriptions.xml (Chinese Simplified)

* New translations insight_alert_codes.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations insight_exceptions.xml (Bulgarian)

* New translations insight_alert_descriptions.xml (Bulgarian)

* New translations insight_alert_descriptions.xml (Czech)

* New translations insight_alert_codes.xml (Bulgarian)

* New translations insight_exceptions.xml (Afrikaans)

* New translations insight_alert_titles.xml (Afrikaans)

* New translations insight_alert_descriptions.xml (Afrikaans)

* New translations insight_alert_codes.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Lithuanian)

* New translations insight_alert_codes.xml (Czech)

* New translations insight_alert_titles.xml (Czech)

* New translations insight_alert_codes.xml (Irish)

* New translations insight_alert_codes.xml (German)

* New translations insight_exceptions.xml (Hebrew)

* New translations insight_alert_titles.xml (Hebrew)

* New translations insight_alert_descriptions.xml (Hebrew)

* New translations insight_alert_codes.xml (Hebrew)

* New translations insight_exceptions.xml (Greek)

* New translations insight_alert_titles.xml (Greek)

* New translations insight_alert_descriptions.xml (Greek)

* New translations insight_alert_codes.xml (Greek)

* New translations strings.xml (Greek)

* New translations insight_exceptions.xml (German)

* New translations insight_alert_titles.xml (German)

* New translations insight_alert_descriptions.xml (German)

* New translations insight_exceptions.xml (French)

* New translations insight_exceptions.xml (Czech)

* New translations insight_alert_titles.xml (French)

* New translations insight_alert_descriptions.xml (French)

* New translations insight_alert_codes.xml (French)

* New translations strings.xml (French)

* New translations insight_exceptions.xml (Finnish)

* New translations insight_alert_titles.xml (Finnish)

* New translations insight_alert_descriptions.xml (Finnish)

* New translations insight_alert_codes.xml (Finnish)

* New translations insight_exceptions.xml (Dutch)

* New translations insight_alert_titles.xml (Dutch)

* New translations insight_alert_descriptions.xml (Dutch)

* New translations insight_alert_codes.xml (Dutch)

* New translations insight_exceptions.xml (Turkish)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations insight_alert_descriptions.xml (Italian)

* New translations insight_alert_titles.xml (Italian)

* New translations strings.xml (Italian)

* New translations insight_alert_titles.xml (Italian)

* New translations insight_exceptions.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Dutch)
2019-08-05 10:01:08 +02:00
AdrianLxM 8bc9828a8b
Update LocalProfileFragment.java 2019-08-04 11:44:19 +01:00
Milos Kozak e81fa734e7 remove replaced strings 2019-08-04 00:05:52 +02: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