1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-04 13:02:12 +02:00
Commit Graph

39 Commits

Author SHA1 Message Date
Arjan Schrijver
b6e252c4c1 Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
Arjan Schrijver
319a11e99d Fossil Q Hybrid: Fix config activity after multi-device merge 2022-08-19 16:21:59 +02:00
dakhnod
4a8523f790 multi-device-support (#2526)
this PR aims to add device for multiple connected devices at once.

A lot of stuff already works, some things need to be done:

- [x] change DeviceCommunicationService to hold multiple devices and supports
- [x] implement connect / disconnect logic
- [x] widgets, not really suited for multiple devices, so far
- [x] change the notification to show multiple devices
- [ ] change GBDeviceService#onFindDevice and similar API functions to target individual devices, not all connected.
- [x] move auto-reconnect setting to device settings
- [x] fix music event crash
- [x] work out behaviour when pressing "connect" from notification
- [ ] handle service crashes
- [ ] suit coordinator methods for multiple devices of same kind
- [x] change ACL_CONNECTED receiver to connect to devices that are not currently registered in DeviceCommunicationService
- [ ] adjust after-boot auto-connection logic
- [ ] fix hanging device support. Device says disconnected, GB says connected
- [x] firmware updater doesn't work

My attempt to make onFindDevice work was to change the arguments to ```EventHandler#onFindDevice(GBDevice device, boolean start)```.
The Problem is that this forces the device-specific implementations to also accept GBDevice as an argument.

Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: dakhnod <dakhnod@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2526
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2022-06-14 18:05:41 +02:00
License Bot
1b5402dcb4 update license headers 2021-01-10 23:38:13 +01:00
Daniel Dakhno
e47599f15f Fossil Hybrid: fixed text color 2020-10-12 18:15:04 +02:00
TaaviE
3bf2d4f086 Fixed a warning with witdh being used as height parameter. 2020-08-26 14:02:22 +02:00
TaaviE
010785113b Fixed a few more warnings 2020-08-26 09:38:31 +02:00
cpfeiffer
7618ec39a2 Use try-with-resources for db access 2020-01-29 20:01:20 +01:00
cpfeiffer
4293db5514 Cleanup toast/logging 2020-01-29 17:37:54 +01:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
dakhnod
c4d63a80e1 added menu handling and error status 2019-12-31 03:14:20 +01:00
dakhnod
a256decfd0 initial commit 2019-12-15 14:58:19 +01:00
License Bot
1dc8c26e2a Update license headers 2019-12-06 22:51:43 +01:00
dakhnod
b1b4100852 extracted some string resources 2019-12-04 00:59:43 +01:00
dakhnod
8e27556cd4 removed printStackTrace 2019-12-04 00:36:42 +01:00
dakhnod
21358fece4 removed Toast#makeText in favour of GB#toast 2019-12-04 00:25:08 +01:00
dakhnod
d355b509d4 added comment 2019-12-04 00:22:19 +01:00
dakhnod
3bbc7a9046 fixed string comparison 2019-12-04 00:19:48 +01:00
dakhnod
f3dc0225ec fixed string switch 2019-12-04 00:18:12 +01:00
dakhnod
4462c52ebb fixed null comparison 2019-12-04 00:09:38 +01:00
Daniel Dakhno
02ee886934 Merge branch 'fossil-q-hybrid' of github.com:dakhnod/Gadgetbridge into q-hybrid-hr 2019-11-26 02:12:11 +01:00
dakhnod
2bba2c449f fixed some syncing issues (hopefully) 2019-11-24 00:44:14 +01:00
dakhnod
e1aa88d22a added some logging 2019-11-21 23:22:55 +01:00
Daniel Dakhno
a56d180531 added second timezone button function 2019-11-20 18:59:13 +01:00
Daniel Dakhno
03e8925d9e fixed unknown button setting exception 2019-11-17 15:56:44 +01:00
Daniel Dakhno
ca18e1fe34 added button index hint 2019-11-17 05:03:23 +01:00
Daniel Dakhno
e04cd474dc user can now assign a few more functions to buttons 2019-11-17 04:55:12 +01:00
Daniel Dakhno
d690dff5ca fixed nah nah. 2019-10-30 16:43:29 +01:00
Daniel Dakhno
c09683de3d implemented nah. 2019-10-30 16:42:44 +01:00
Daniel Dakhno
25a67b2ebb updated some requests, still dunno why some files time out... 2019-10-30 02:50:00 +01:00
Daniel Dakhno
06d7568249 added some requests and logic 2019-10-28 12:35:22 +01:00
dakhnod
2a96f762af added option to track notification count with activity hand 2019-10-20 01:42:31 +02:00
dakhnod
f912ae28a2 adjusted settings activity 2019-09-25 00:19:59 +02:00
dakhnod
8db0812ed0 fixed settings bug 2019-08-01 22:39:34 +02:00
dakhnod
0b572505b3 removed DeviceSupportService hack 2019-07-26 16:42:53 +02:00
dakhnod
ed651ac976 fixed vibration setting 2019-07-21 17:09:14 +02:00
dakhnod
62feefb67e reworked settings, nearly removed DeviceSupport Hack 2019-07-21 16:47:17 +02:00
root
09f6cada87 Fossil Q hybrid and Skagen support added
Opening this branch for the second time inorder to purge certain files form the repo
2019-07-14 19:45:40 +02:00