p5nbTgip0r
d7ad74056d
fix: don't restart alarm sound service automatically
...
This sets the alarm sound service to not be sticky. If AAPS is stopped while an alarm is playing, the alarm sound service will be started again by the system but there's no built-in way to stop it after this happens. This commit makes it so the alarm sound service won't be restarted by Android, thereby avoiding the aforementioned issue.
2022-08-01 20:13:48 -07:00
Milos Kozak
dfbe0ba0e6
Insight: prevent NPE
2022-08-01 21:10:25 +02:00
Milos Kozak
495a006632
DataLayerListenerServiceMobileHelper
2022-08-01 21:07:48 +02:00
Milos Kozak
9d0de0150b
cleanup
2022-08-01 20:15:03 +02:00
Milos Kozak
e920b6bc2d
Glunovo: catch SecurityException
2022-08-01 16:40:52 +02:00
Milos Kozak
1b3bb6ecdd
full clone of AS data
2022-08-01 16:22:04 +02:00
Carlos Rafael Giani
941f3e27a2
Add androidx.lifecycle:lifecycle-viewmodel to android module dependencies
...
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
d8842340b3
logging: Add functions that accept custom class/method/linenum values
...
These are meant for integrating other loggers into AAPSLogger.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
0c486e01cf
sharedPreferences: Add utility delegates
...
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
6ef9b0c135
interfaces: Extend SP with edit block like androidx.core.content.edit
...
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
8a3679a3c7
interfaces: Pump interface documentation improvements
...
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
c1bd53c9a9
overview: Use localized insulin unit in StatusLightHandler
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani
9b1b797d09
IDEA/Android Studio: Disallow wildcard imports
...
Wildcard imports are generally discouraged for these reasons:
(Source: https://jiga.dev/avoiding-wildcard-imports-in-java-kotlin-with-intellij/ )
* Explicit imports clearly states what external classes the current class
is directly using, provided that you don’t leave redundant imports
in your code.
* If there are two classes with the same name from different packages,
it can introduce collision when using wildcard imports.
* When multiple people are working in a project, wildcard imports can
create confusion as to which classes are actually imported.
Also note that ktlint has a rule against wildcard imports.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Milos Kozak
65719b79d2
catch IllegalStateException
2022-08-01 14:56:04 +02:00
Milos Kozak
e89d263cdc
postpone ProcessLifecycleListener init
2022-08-01 14:40:03 +02:00
Milos Kozak
5512c31f52
Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev
2022-08-01 14:33:32 +02:00
Milos Kozak
ef0a44e276
Prevent NPE
2022-08-01 14:33:19 +02:00
Milos Kozak
9ff54fea66
Merge pull request #1981 from nightscout/dependabot/gradle/dev/com.google.code.gson-gson-2.9.1
...
chore(deps): bump gson from 2.9.0 to 2.9.1
2022-08-01 11:52:42 +02:00
Milos Kozak
b6f15456cc
Revert "chore(deps): bump dagger_version from 2.42 to 2.43"
...
This reverts commit c5e55eaf85
.
2022-08-01 11:51:33 +02:00
dependabot[bot]
bf1469d3f8
chore(deps): bump gson from 2.9.0 to 2.9.1
...
Bumps [gson](https://github.com/google/gson ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.9.0...gson-parent-2.9.1 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 08:14:42 +00:00
Milos Kozak
9849d3758a
Merge pull request #1972 from Philoul/New/DashBolusDelivered
...
Update BOlus dialog with estimated amount of Unit injected
2022-08-01 09:15:37 +02:00
christina
710f42e9fb
Merge remote-tracking branch 'origin/intelligo' into intelligo
2022-07-31 19:35:11 +03:00
christina
45bb7997d1
intelligo
2022-07-31 19:34:22 +03:00
christinadamianou
b0fa7352c1
Merge pull request #1 from nightscout/master
...
int
2022-07-31 19:30:15 +03:00
Milos Kozak
dece2e1622
Merge pull request #1974 from justmara/fix/debug-optimization
...
small debug logging optimization
2022-07-30 23:14:40 +02:00
Milos Kozak
e635978c1a
Merge pull request #1969 from Philoul/Fix/AutotuneKeyboad
...
Autotune Fix Keyboard input for TuneDays
2022-07-30 23:10:01 +02:00
Milos Kozak
df06b3425d
Merge pull request #1964 from nightscout/dependabot/gradle/dev/dagger_version-2.43
...
chore(deps): bump dagger_version from 2.42 to 2.43
2022-07-30 23:09:02 +02:00
Milos Kozak
14aace2181
Merge pull request #1953 from osodebailar/bugfix/fix-insight-textcolor-on-whitetheme
...
fix insight textcolor on white theme
2022-07-30 23:08:32 +02:00
Milos Kozak
53d75daf09
Merge pull request #1970 from nightscout/dependabot/gradle/dev/room_version-2.4.3
...
chore(deps): bump room_version from 2.4.2 to 2.4.3
2022-07-30 23:07:55 +02:00
Milos Kozak
7f3e29eb84
Merge pull request #1967 from osodebailar/bugfix/fix-wrong-button-style
...
fix button style
2022-07-30 22:48:17 +02:00
Milos Kozak
d4ed32dd6c
Merge pull request #1961 from andyrozman/bug1724_tbr_iob
...
Bug1724 tbr iob
2022-07-30 22:47:29 +02:00
Sergey Zorchenko
5ee3d14235
moved some debug log messages creation to lambda
2022-07-29 14:05:31 +03:00
dependabot[bot]
acf167e8ac
chore(deps): bump room_version from 2.4.2 to 2.4.3
...
Bumps `room_version` from 2.4.2 to 2.4.3.
Updates `room-ktx` from 2.4.2 to 2.4.3
Updates `room-runtime` from 2.4.2 to 2.4.3
Updates `room-rxjava3` from 2.4.2 to 2.4.3
Updates `room-compiler` from 2.4.2 to 2.4.3
Updates `room-testing` from 2.4.2 to 2.4.3
---
updated-dependencies:
- dependency-name: androidx.room:room-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-rxjava3
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 08:09:15 +00:00
Philoul
d1429ad150
Autotune replace EditTextPreference by ValidatingEditTextPreference for Default tuneDays
2022-07-27 23:59:17 +02:00
Philoul
a67bcddbfd
Autotune Fix tuneDays modification from keyboard
2022-07-27 23:38:51 +02:00
Philoul
daa94a9724
Update Bolus Progress message for Eros
2022-07-27 22:54:32 +02:00
Philoul
28fcdd8ada
Round injected Units to Dash tick value 0.05U
2022-07-27 22:20:35 +02:00
osodebailar
ff378579c4
fix button style
2022-07-27 09:45:09 +02:00
Philoul
f9bebfccba
Dash Bolus delivered ptogress dialog
2022-07-26 22:31:52 +02:00
Dave Carlson
abbc73ddcf
[omnipod-eros] moot basal set before pod basal activation
2022-07-25 19:37:04 -07:00
dependabot[bot]
2887cd5577
chore(deps): bump dagger_version from 2.42 to 2.43
...
Bumps `dagger_version` from 2.42 to 2.43.
Updates `dagger-compiler` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43 )
Updates `dagger-android-processor` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43 )
Updates `dagger` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43 )
Updates `dagger-android` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43 )
Updates `dagger-android-support` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 08:08:22 +00:00
Andy Rozman
2e40b17973
- reverting change done for 1724 (code is still there just commented). I need to rework this, and reuse the code, just on different position)
2022-07-24 12:42:33 +01:00
Andy Rozman
3ea2c761f9
Merge branch 'dev' into bug1724_tbr_iob
2022-07-24 12:38:42 +01:00
osodebailar
1c9749ee26
fix insight textcolor on white theme
2022-07-23 13:52:55 +02:00
Milos Kozak
0734b4c620
Insight: fix NPE
2022-07-22 22:59:21 +02:00
Milos Kozak
f8acbad759
Merge pull request #1949 from nightscout/dev
...
3.1.0.2
2022-07-22 19:21:05 +02:00
Milos Kozak
0599e81327
3.1.0.2-dev-a
2022-07-22 19:21:01 +02:00
Milos Kozak
6b26e528ec
3.1.0.2
2022-07-22 19:19:48 +02:00
Milos Kozak
aa54e94c35
fix BT check for android < 12
2022-07-22 19:16:00 +02:00
Milos Kozak
dc13682d5e
3.1.0.1-dev-a
2022-07-22 15:05:29 +02:00