Commit graph

160 commits

Author SHA1 Message Date
Milos Kozak
7eaf7c21f4 gradle cleanup 2023-08-27 13:55:51 +02:00
Milos Kozak
e9ba68868c
New Crowdin updates (#2709)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)
2023-08-27 13:15:46 +02:00
Milos Kozak
f2e86ae63c kotlin lints 2023-08-27 01:27:36 +02:00
Milos Kozak
d0d09d054b
New Crowdin updates (#2707)
* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Turkish)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* Update source file strings.xml

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations exam.xml (Portuguese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations objectives.xml (French)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Czech)

* New translations exam.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations exam.xml (Portuguese)

* New translations objectives.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations exam.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations objectives.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)
2023-08-26 23:58:54 +02:00
Milos Kozak
ab74947c24 cleanup activities 2023-08-26 22:56:34 +02:00
Milos Kozak
9c2c331ffe
New Crowdin updates (#2696)
* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations objectives.xml (German)

* New translations strings_alarm.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Polish)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings_alarm.xml (German)

* New translations strings_alarm.xml (Polish)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (German)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Dutch)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings_alarm.xml (Polish)

* New translations strings.xml (Polish)

* New translations arrays.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations protection.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)
2023-08-25 16:30:11 +02:00
Milos Kozak
8a284de4d3
New Crowdin updates (#2694)
* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)
2023-08-24 09:15:56 +02:00
Milos Kozak
510e640673 ComboV2PairingActivity: toolbar 2023-08-19 10:41:35 +02:00
Milos Kozak
eb99dbb362
New Crowdin updates (#2669)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations arrays.xml (French)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Norwegian)
2023-08-16 09:53:36 +02:00
Milos Kozak
c368859df9
New Crowdin updates (#2633)
* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* 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 (French)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations arrays.xml (Romanian)

* New translations arrays.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Afrikaans)

* New translations arrays.xml (Bulgarian)

* New translations arrays.xml (Catalan)

* New translations arrays.xml (Czech)

* New translations arrays.xml (Danish)

* New translations arrays.xml (German)

* New translations arrays.xml (Greek)

* New translations arrays.xml (Irish)

* New translations arrays.xml (Hebrew)

* New translations arrays.xml (Hungarian)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Japanese)

* New translations arrays.xml (Korean)

* New translations arrays.xml (Lithuanian)

* New translations arrays.xml (Dutch)

* New translations arrays.xml (Norwegian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Portuguese)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Slovak)

* New translations arrays.xml (Swedish)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Croatian)

* New translations arrays.xml (Serbian (Latin))

* Update source file strings.xml

* Update source file strings.xml

* Update source file arrays.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations arrays.xml (French)

* New translations arrays.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations arrays.xml (Italian)

* New translations arrays.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Czech)

* New translations arrays.xml (Italian)

* Update source file arrays.xml

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)
2023-08-15 11:23:44 +02:00
Milos Kozak
968c9fb4c1 Resolve onBackPressed deprecation 2023-08-14 16:28:29 +02:00
Carlos Rafael Giani
7886dc7e14 combov2: Validate length of entered pairing PIN 2023-08-09 19:48:46 +02:00
Carlos Rafael Giani
84f4303895 combov2: Report error and abort driver start if Bluetooth is not supported 2023-08-09 19:48:36 +02:00
Carlos Rafael Giani
0f668472a4 combov2: Use custom Bluetooth strings instead of reusing BLE ones
The Combo does not use Bluetooth Low Energy, but rather Bluetooth Classic,
so don't use BLE strings for notificiations.
2023-08-09 19:47:08 +02:00
Milos Kozak
ac333f6968
Merge pull request #2623 from jbr7rr/medtrum-stage
Medtrum Nano
2023-08-09 13:46:46 +02:00
Carlos Rafael Giani
d85fd9e8fe combov2: Set the bolusDelivered value when a bolus delivery is finished
Fixes https://github.com/nightscout/AndroidAPS/issues/2594
2023-08-03 14:58:13 +02:00
jbr7rr
f525c62410 Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-07-21 06:39:48 +02:00
Milos Kozak
8a458954a8 remove jacoco-android plugin in favor of jacoco-core 2023-07-19 13:53:43 +02:00
Milos Kozak
51b754e5b5
New Crowdin updates (#2618)
* New translations strings.xml (French)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations objectives.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)
2023-07-18 11:13:07 +02:00
jbr7rr
3f88e05898 Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-07-16 11:08:21 +02:00
Milos Kozak
36f15102fe Combov2: fix string 2023-07-15 11:37:23 +02:00
jbr7rr
419def7f6b Notifications and fake TBR on state changes 2023-06-13 13:35:08 +02:00
Milos Kozak
7faa34aa50 fix activities translation 2023-05-17 18:36:01 +02:00
Milos Kozak
62cea47d57
New Crowdin updates (#2499)
* New translations objectives.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Russian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)
2023-05-08 08:13:06 +02:00
Carlos Rafael Giani
8537c42d0a combov2: Use dedicated variable for keeping track of suspended state
This is necessary to prevent race conditions during connection setup.
isSuspended() was relying on the driverStateUIFlow to determine if the
pump is currently suspended. However, because driverStateUIFlow is updated
in a separate coroutine, there is a chance that the Suspended state is
set shortly _after_ connect() called isSuspended() to determine if the
pump is suspended or not, causing connect() to do the wrong thing and
assume that the pump is currently connected. Since the main screen does
not show the current profile number, this leads to the error message
"profile 1 must be the active profile, not profile 0".
2023-04-03 20:52:48 +02:00
Milos Kozak
003f323d4c
Merge pull request #2464 from dv1/combov2-fixes-001
Fixes to combov2 pairing PIN entry UI, the pairing activity, and TDD history retrieval and activity background
2023-03-25 20:12:38 +01:00
Milos Kozak
1920bc7ce5
New Crowdin updates (#2465)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)
2023-03-23 10:32:05 +01:00
Carlos Rafael Giani
a0e65370dc combov2: Ask for Bluetooth permissions before pairing 2023-03-22 09:02:42 +01:00
Carlos Rafael Giani
d280a2bec5 comboctl-main: Allow fetching TDDs while the pump is suspended
There is no good reason for disallowing TDD retrieval while the Combo
is suspended - the TDD history screens are accessible, and TDD retrieval
does not cause any insulin delivery to take place.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-22 08:53:21 +01:00
Carlos Rafael Giani
6435b36f7e combov2: Use layout_weight to make PIN field adapt to horizontal space 2023-03-19 17:40:41 +01:00
Milos Kozak
438f384c67 lints 2023-03-16 18:36:47 +01:00
Milos Kozak
294f3cb789
Merge pull request #2457 from dv1/combov2-fixes-001
combov2: Fixes for the refresh button, unsafe casts, crashes due to Bluetooth, improved warning screen handling, and additional language support
2023-03-13 22:21:45 +01:00
Carlos Rafael Giani
9979331ef0 comboctl-parser: Fix typo in E2BatteryEmptyErrorScreenParsing test
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-13 21:46:31 +01:00
Milos Kozak
6e223dd5f4
New Crowdin updates (#2456)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations alert_descriptions.xml (Lithuanian)

* New translations exam.xml (Bulgarian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2023-03-13 21:32:18 +01:00
Carlos Rafael Giani
bec7a4aa97 combov2: Replace unsafe casts 2023-03-12 22:40:54 +01:00
Carlos Rafael Giani
cc4cd2dc04 comboctl-parser: Don't try to interpret text in error screens
That text shows contents that are different to that of warning screens.
Instead of extending the interpretation logic to cover such contents as
well, just use a generic ERROR_TEXT AlertScreenState. That text won't
be interpreted by any program logic anyway, since error screens are
never dismissed automatically.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-12 22:40:54 +01:00
Carlos Rafael Giani
377188353a combov2: Show UI notifications and toaster messages when BT is not enabled 2023-03-12 22:40:54 +01:00
Carlos Rafael Giani
6d998c8081 combov2: Catch exceptions thrown when the adapter is disabled / unavailable 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
c1058ad113 comboctl-android: Check that the adapter is available and enabled
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
13666fd549 combov2: Document and extend runWithPermissionCheck utility function 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
72819cbc53 comboctl-base: Add exceptions for disabled and missing Bluetooth adapters
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
fe1235dbe1 combov2: Wait for coroutines to finish in onStop() 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
2cdc4c45ea comboctl-parser: Add Lithuanian support
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
3f3884e513 comboctl-parser: Handle percent symbol in some TBR percentage screens
Some TBR percentage screens like the Lithuanian one show a % symbol
right after the text. Add an optional symbol parser to handle it.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
dbe72e72da comboctl-parser: Add Slovenian support
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
d2c0aba2b5 comboctl-main: Improve alert screen handling
* Check if the alert screen is the confirm or snooze screen, and press
  the CHECK button once or twice accordingly. This avoids fringe cases
  where the amount of button presses is incorrect.
* In rare cases, more alert screens may show up after dismissing the
  current one. Add code to keep observing remaining alerts and redo
  the dismissing logic after a while if necessary.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
76dec4aad6 comboctl-parser: Also parse text in alert screens
This helps with distinguishing the "snooze" and "confirm" screens.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
c81578f7ff combov2: Also enable the Refresh button in the Error state 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani
b4cb00ab0b combov2: Remove notes from auto-inserted reservoir and battery changes
Unfortunately, even though the notes are informative, they do not fit
well in the treatments fragment. The only solution thus far is to remove
them from the therapy entries.

Fixes https://github.com/nightscout/AndroidAPS/issues/2382
2023-03-11 19:00:20 +01:00
Milos Kozak
c2fd6e5990 unify kotlinx_serialization 2023-02-27 15:57:27 +01:00