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

1637 Commits

Author SHA1 Message Date
Daniele Gobbetti
bef59ae9c0 Parse new version of Pebble health datalog message with tag "84".
This message was previously treated as a further "Sleep" message type, with firmware version 3.12 further types were added that are clearly unrelated to sleep (possibly to high-intensity activities like running etc.), hence the related code is now moved to a separate class.

The only decoded records are still sleep-related.

Fixes #312
2016-05-23 21:13:12 +02:00
Andreas Shimokawa
437de7f660 fix duplicate entry in strings.xml 2016-05-22 23:38:51 +02:00
Andreas Shimokawa
efe5e546fd Merge branch 'master' into feature-sunrise 2016-05-22 23:36:09 +02:00
Andreas Shimokawa
80cf9fa8fe Pebble: allow to delete apps from pbw cache
Also remove delete entries from all system apps' context menus (not only health)
2016-05-22 23:32:25 +02:00
Andreas Shimokawa
30883ab244 Pebble: In AppManager mark cached apps with (C), installed apps on FW 2.x with (D) and (CD) if both is the case
Also always add pebble health as a system app to the list on devices that have it (no need to enable untested features for that anymore)
2016-05-22 22:48:45 +02:00
Andreas Shimokawa
5a20d7ec81 Pebble: no longer clear list of cached apps as soon as the installed watchfaces is received from Firmware 2.x
This will result in duplicate entries (first the whole cache, then actually installed watchfaces)
It might already make watchface configuation working on 2.x even though it is dirty

I wish everybody would just update to 3.x *sigh*
2016-05-22 12:30:47 +02:00
Andreas Shimokawa
ca714417ac Pebble: also copy pbw to cache on Firmware 2.x
Neccessary step towards watchface configuration on 2.x
2016-05-22 11:33:14 +02:00
Andreas Shimokawa
6370fdbebe Merge branch 'master' into feature-sunrise 2016-05-22 01:25:52 +02:00
Andreas Shimokawa
0d7986a5ab Pebble: rework incoming reconnection support
This is now completely generic and should work for other devices also

Fixes #296
2016-05-22 01:19:28 +02:00
cpfeiffer
d5cca84780 Small fixlets 2016-05-20 22:04:30 +02:00
cpfeiffer
0267ddb356 Merge branch 'master' into db-refactoring 2016-05-20 21:49:59 +02:00
cpfeiffer
400ae2bc3b Fix lint warnings using @TargetApi 2016-05-20 21:49:25 +02:00
cpfeiffer
fa34cf9a17 Merge branch 'master' into db-refactoring 2016-05-20 21:42:30 +02:00
cpfeiffer
a97efe1513 Updated contributors 2016-05-20 21:31:30 +02:00
Carsten Pfeiffer
f933eb8fcd Merge pull request #306 from normano64/do-not-disturb
Detects if Do Not Disturb is in use
2016-05-20 21:21:08 +02:00
Normano64
31eabe9605 Fixed things based on feedback 2016-05-19 23:58:13 +02:00
cpfeiffer
cfed531ad0 Add list of contributors 2016-05-19 22:33:27 +02:00
cpfeiffer
2e2030f67b Update translations from transifex, thanks! 2016-05-19 22:07:55 +02:00
Normano64
8a91628322 Detects if Do Not Disturb is in use.
Can handle sms and phone calls from priority senders when in Priority
only, but doesn't handle events and reminders.
2016-05-19 16:34:59 +02:00
cpfeiffer
4370be28b6 Remove some imports 2016-05-17 00:51:58 +02:00
cpfeiffer
75703b0dea Import and Export db are back 2016-05-17 00:51:00 +02:00
cpfeiffer
2d2df64003 Port schema migration to greendao 2016-05-16 23:54:51 +02:00
Andreas Shimokawa
907ad8f27a correction regarding deletion of old pins 2016-05-16 23:48:18 +02:00
cpfeiffer
4b374e3f7e Implement changeStoredSamplesType() 2016-05-16 23:45:21 +02:00
Andreas Shimokawa
4bd578ebea Pebble: send sunrise/sunset to watch for today and tomorrow, also delete previous timeline pins 2016-05-16 23:37:40 +02:00
cpfeiffer
876bdac918 More WIP: remove now unused code, better use of generics 2016-05-16 23:36:54 +02:00
cpfeiffer
40a376bbd0 Merge branch 'master' into db-refactoring 2016-05-16 23:01:16 +02:00
cpfeiffer
3e0bc16741 More WIP, but we're getting closer
current state:
- storing samples works (tested only mi band)
- charts work
2016-05-16 23:00:04 +02:00
Andreas Shimokawa
017f650b3f Pebble: send sunrine and sunset pins to timeline when setting time in debug menu
This is just a test and it will leak your timeline data, since we never delete it.
Also this adds some rough infrastructure for calendar events.
2016-05-16 17:30:11 +02:00
Andreas Shimokawa
8c88223f26 update changelog 2016-05-15 23:29:19 +02:00
Andreas Shimokawa
d66f842e9b Mi Band: Make sure live activity gets stopped when using the back button 2016-05-15 22:24:37 +02:00
cpfeiffer
3a1f91b5a8 Default to low latency mode #287
Tested with Mi1A and Mi1S -- works fine and faster than without
low-latency mode.
2016-05-15 00:22:53 +02:00
cpfeiffer
5963843216 Experimental support for #274 (untested yet) 2016-05-15 00:15:31 +02:00
cpfeiffer
6e44ddaee6 WIP: db refactoring 2016-05-15 00:09:34 +02:00
Andreas Shimokawa
5efe9a5eb8 update japanese and geraman translations form transifex (THANKS!)
I did not merge others because tx pull deletes stuff again
2016-05-14 12:23:01 +02:00
Andreas Shimokawa
e2def7b467 update changelog, bump version 2016-05-14 12:15:48 +02:00
cpfeiffer
8ca821ab8a More WIP on db refactoring 2016-05-13 23:47:47 +02:00
cpfeiffer
d0c8483d92 More WIP 2016-05-08 23:49:15 +02:00
cpfeiffer
9532fc879f "Ported" to AbstractSampleProvider 2016-05-08 23:17:05 +02:00
cpfeiffer
21cafa83d8 WIP: some more query work 2016-05-08 22:58:50 +02:00
cpfeiffer
b805612ae5 Allow in-process dex with 2GB heap, as recommended 2016-05-08 21:39:55 +02:00
cpfeiffer
40837996f8 Fix logback initialization, closes #300 2016-05-08 21:39:23 +02:00
cpfeiffer
1a353239c4 Fix log content 2016-05-08 21:38:55 +02:00
Andreas Shimokawa
9b7f2c1e91 try to fix weiredness with pebble reconnects 2016-05-08 17:19:01 +02:00
Andreas Shimokawa
5b21895283 try to get BT alias name by reflection. Useful if you have a lot of Mi Bands 2016-05-07 21:46:20 +02:00
cpfeiffer
cc5941f7eb Merge branch 'master' into db-refactoring 2016-05-05 10:19:19 +02:00
cpfeiffer
808e12d680 A little more WIP 2016-05-05 10:19:01 +02:00
Andreas Shimokawa
65a95366f4 Mi Band: Allow setting low-latency FW update mode in Mi Band development settings 2016-05-04 13:24:32 +02:00
Andreas Shimokawa
045d5119ff Do not update summary for checkbox preference
Was causing summary to get overwritten by "true" or "false" when changing preferences
2016-05-04 13:07:11 +02:00
Andreas Shimokawa
619a17425f Mi Band: Display hint about starting Activity Activity instead of App Manager
TODO: Fix the string, I have no idea how to properly name the Activity Activity
2016-05-04 12:31:29 +02:00