1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 19:36:50 +01:00
Commit Graph

4115 Commits

Author SHA1 Message Date
Andreas Shimokawa
d7c6fad235 Mi Band 4: decode swim info (not used yet)
After swimming a lot on the sofa and desk this seems right and in line with the data displayed on the band
swimming styles I got so far are breast and freestyle. Others are probably missing.

Might be correct for Cor also (I don't have one)
2019-08-15 11:14:41 +02:00
Andreas Shimokawa
13b078aadd fix verison typo (before I get a PR again :P) 2019-08-14 19:40:10 +02:00
Andreas Shimokawa
c17c3ed341 Improve parsing and debug output for activity summaries from Mi Band/Amazfit 2019-08-14 19:24:09 +02:00
Andreas Shimokawa
26165f9117 Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
Andreas Shimokawa
320f792d19 Add icons for "swimming" and "exercise"
Also set tint color to gray (for dark theme) and remove duplicate sleep icon
2019-08-14 07:55:10 +02:00
Andreas Shimokawa
b5ea3ca591 Hexdump sports activity packets for better analysis
type 2 seems to be pause, 3 resume.
type 8 and seems to be related to swimming activites
2019-08-13 23:02:10 +02:00
Andreas Shimokawa
f99bc0de64 Move another file from AmazfitBip to Huami which is no longer Bip specific 2019-08-13 22:20:18 +02:00
Andreas Shimokawa
ff7886765f Add Swimming to sport activity types, rename some AmazfitBip stuff to Huami (these were things introduced with the bip but working with other devices now also) 2019-08-13 22:04:52 +02:00
Andreas Shimokawa
42a6b9f48b update dependencies 2019-08-13 15:07:31 +02:00
Andreas Shimokawa
e1016e18b3 Put all chart preferences into a preference screen 2019-08-13 14:49:23 +02:00
vanous
404bdc4713 Polish strings key to keep consistency with the project. 2019-08-13 14:30:55 +02:00
vanous
a263059317 Modify charts range based on settings. More/Less labels density. 2019-08-13 14:30:54 +02:00
vanous
80bd31d894 Modify Charts Fragment's Titles 2019-08-13 14:30:54 +02:00
vanous
28fde846ea Modify getTitle(). Probably not visible, but done for completness. 2019-08-13 14:30:54 +02:00
vanous
f68485e6f0 Add Preferences and strins. Format Preferences. 2019-08-13 14:30:54 +02:00
Giuseppe
2a2bc7257f Translated using Weblate (Italian)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-08-12 20:35:17 +02:00
Richard Finegold
0c35eec2f7 Fix firmware spelling in CHANGELOG.md
Fix spelling in fastlane metadata changelog
Fix spelling in res/xml/changelog_master.xml
2019-08-12 14:17:47 +02:00
vanous
3017742cba Added type to intent when sharing 2019-08-12 14:16:20 +02:00
vanous
5fe4ea7246 Clean commented code 2019-08-12 14:13:20 +02:00
vanous
7809655ef4 Add Average Settings. Addformat method to get average. 2019-08-12 14:13:20 +02:00
vanous
f11628b42b Add Averages to Charts 2019-08-12 14:13:20 +02:00
vanous
c243541c6e Add dedicated charts section into Settings 2019-08-12 14:10:18 +02:00
Konrad Iturbe
da59991aa5 Use Rebble Store URI 2019-08-12 14:07:37 +02:00
Andreas Shimokawa
0fd4d523a0 Amazfit Bip: Whitelist new firmware versions I tested 2019-08-07 17:24:01 +02:00
Andreas Shimokawa
57a235742d Properly disable new ble scanning for testing
(inverted logic committed accidentially)
2019-08-03 23:40:07 +02:00
Andreas Shimokawa
461842a945 fix copyright header for newly added file 2019-08-02 23:52:25 +02:00
Andreas Shimokawa
02d02d2329 Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
Andreas Shimokawa
aefd7520f3 Mi Band 3/4, Amazfit Cor/Bip: set language immediately when changing it (not only on connect)
Helps testing
2019-08-02 00:11:11 +02:00
Andreas Shimokawa
97540d734f Mi Band 3/4: Allow enabling the "NFC" menu where supported
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
dakhnod
8db0812ed0 fixed settings bug 2019-08-01 22:39:34 +02:00
dakhnod
236a48e398 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-08-01 01:03:07 +02:00
dakhnod
961eb1c4ce adjusted battery threshold 2019-08-01 01:02:48 +02:00
Andreas Shimokawa
bb03ccccb4 fix wording 2019-07-30 23:24:58 +02:00
Andreas Shimokawa
ad7939a641 bump version, add changelog 2019-07-30 23:18:58 +02:00
Andreas Shimokawa
c4af864ad5 Fix crash when installing firmware to Mi Band 1/2 while App is in Spanish
(No this is not really Spanish, please fix working on weblate)
Fixes #1577
2019-07-30 23:09:00 +02:00
Leo bonilla
3197b85111 Translated using Weblate (Spanish)
Currently translated at 94.2% (632 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-07-30 22:56:15 +02:00
Full Name
e99ce564b4 Translated using Weblate (Czech)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-07-30 22:56:15 +02:00
nautilusx
686a12b8cb Translated using Weblate (German)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-07-30 22:56:15 +02:00
Allan Nordhøy
86dec419e1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.0% (664 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-07-30 22:56:15 +02:00
Yaron Shahrabani
5c3741b33f Translated using Weblate (Hebrew)
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-07-30 22:56:15 +02:00
Rafael Fontenelle
66a735d68d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-07-30 22:56:15 +02:00
陈少举
b1a6c4670f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (671 of 671 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-07-30 22:56:15 +02:00
dakhnod
b089ad7531 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-29 00:56:32 +02:00
Andreas Shimokawa
124d03d171 Mi Band 4: Enable music info support (displays now on the band) 2019-07-28 14:34:04 +02:00
Andreas Shimokawa
261ddee707 Mi Band 4: Support setting date format (for built-in watchfaces) 2019-07-26 21:05:16 +02:00
Andreas Shimokawa
8d567c1e6d fix build 2019-07-26 19:37:00 +02:00
dakhnod
32a2402048 removed Toast.makeText 2019-07-26 18:11:29 +02:00
dakhnod
f4d484f698 removed getDelegate() 2019-07-26 18:00:31 +02:00
dakhnod
1e936e4a85 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-26 17:57:12 +02:00
dakhnod
50483dd271 added UI elements and Activity data fetch 2019-07-26 16:43:38 +02:00
dakhnod
0b572505b3 removed DeviceSupportService hack 2019-07-26 16:42:53 +02:00
Andreas Shimokawa
8449e55f9e Amazfit Cor: Fix empty menu on Amazfit Cor 2
Fixes #1563
2019-07-26 08:57:41 +02:00
Andreas Shimokawa
17599a797a remove unused imports 2019-07-25 22:33:41 +02:00
Andreas Shimokawa
1414ef1623 bump version, add changelog 2019-07-25 22:29:09 +02:00
Andreas Shimokawa
31db568832 Mi Band 4: Fix RES and FW update 2019-07-25 22:18:48 +02:00
Andreas Shimokawa
b6e78c1b9c Mi Band 4: Support flashing watchfaces
FLASHING FIRMWARE/RES/FONT IS STILL UNTESTED
2019-07-25 20:51:28 +02:00
dakhnod
e1d2ba32da fixed settings 2019-07-25 12:00:50 +02:00
dakhnod
1af8daba7a added SetTime request 2019-07-25 11:47:08 +02:00
dakhnod
4772ec714c addad DEVICE_CHANGED Intent 2019-07-25 11:38:56 +02:00
dakhnod
ca26d856ba code cleanup 2019-07-25 11:34:37 +02:00
dakhnod
886113dad8 tweaked init process 2019-07-25 11:30:33 +02:00
dakhnod
ef692498af Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-25 11:12:50 +02:00
dakhnod
d802aa4ab1 added hardware version dependant function limiting 2019-07-25 11:12:24 +02:00
dakhnod
2ca1d69a17 reformatting 2019-07-25 10:56:03 +02:00
dakhnod
3f79592588 reworked init process 2019-07-25 10:52:27 +02:00
dakhnod
aaa9e7bef2 Formatted device information 2019-07-25 10:51:46 +02:00
dakhnod
8f996e04cd Added device information and reworked notifications 2019-07-25 10:30:18 +02:00
dakhnod
8775255d69 Added Request 2019-07-25 10:29:45 +02:00
Andreas Shimokawa
1e3fbfe8b4 bump version, add changelog 2019-07-24 21:52:18 +02:00
Full Name
c00072c1c8 Translated using Weblate (Czech)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-07-24 21:38:01 +02:00
Deixondit
507a8996ef Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-24 21:38:01 +02:00
Andreas Shimokawa
5ff5561772 Mi Band 4: Fix notification icons and cut-off text 2019-07-24 09:33:53 +02:00
Andreas Shimokawa
044f6c11cd Mi Band 4: WIP firmware update preparation
Nothing works yet
2019-07-23 23:49:21 +02:00
Andreas Shimokawa
9042966a40 Mi Band 4: Fix empty notifications
Icon still missing
2019-07-23 22:42:30 +02:00
dakhnod
57e28c2dd0 added SetCountdownSettings Request (with buff) 2019-07-23 22:26:51 +02:00
dakhnod
9d251d99d2 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-23 20:30:18 +02:00
dakhnod
8bda4790a9 added GetCountdownSettings Request 2019-07-23 20:30:00 +02:00
Andreas Shimokawa
a60268c05c Mi Band 4: Bring your own key support (blindly done, I dont have my key)
THIS STILL REQUIRES MI FIT AND YOUR EXTRACTED KEY

HOWTO:
1) press + button in Gadgerbridge
2) LONG PRESS Mi Band 4
3) Tap "Auth Key"
4) Enter your key prefixed with 0x (eg. 0x112233445566778899aabbccddeeff00)
5) Go back
6) Tap Mi Band 4

Success? You tell me.
2019-07-23 08:56:26 +02:00
dakhnod
c0eb1420b2 adjusted initial sync 2019-07-21 17:21:42 +02:00
dakhnod
84952543e4 cosmetics 2019-07-21 17:10:55 +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
dakhnod
7d015e3275 added different requests 2019-07-21 16:42:28 +02:00
dakhnod
e2a573e3e2 fixed button overwrite for commuter 2019-07-20 16:03:31 +02:00
dakhnod
c99a3c91b5 improved file upload error handling 2019-07-20 15:45:14 +02:00
dakhnod
f5c8ea39b1 Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid 2019-07-18 11:24:15 +02:00
Andreas Shimokawa
54e814f848 add missing file
travis is useless, lets remove that crap
2019-07-17 11:26:36 +02:00
Andreas Shimokawa
8d2ea3b9e8 update changelog 2019-07-16 23:50:28 +02:00
Andreas Shimokawa
8d50e8ef08 Mi Band 3: Allow setting date format in per-device settings
Closes #1544
2019-07-16 23:48:08 +02:00
Andreas Shimokawa
f7a4b3c06a Mi Band 3: whitelist firmware 2.4.0.20
Closes #1557
2019-07-16 16:24:45 +02:00
Andreas Shimokawa
905c6fdc3e update changelog, bump version 2019-07-16 14:22:30 +02:00
Joan Perals
c10ec59b78 Add Catalan to list of available languages 2019-07-16 00:43:57 +02:00
Andreas Shimokawa
9163faf726 Merge remote-tracking branch 'github/pr/1555/zetime' 2019-07-16 00:41:04 +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
Sebastian Kranz
1cd9a09ce5 BUGFIX: Really fix the timestamps now for everyone, everywhere. calculate the correct UTC of different timezones and daylight savings. 2019-07-12 08:08:52 +02:00
Andreas Shimokawa
487c4b7498 fix burmese path 2019-07-11 22:08:11 +02:00
Deixondit
790194c329 Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
91c5ac8fca Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
36aabc6cb6 Translated using Weblate (Catalan)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Deixondit
cf6dfa5f12 Translated using Weblate (Catalan)
Currently translated at 55.9% (373 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
98e0b4c5d2 Translated using Weblate (😃 (generated))
Currently translated at 5.2% (35 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/%F0%9F%98%83/
2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
aeb4296218 Added translation using Weblate (😃 (generated)) 2019-07-11 22:01:43 +02:00
Ye Wint Htut Kyaw
aacc766810 Added translation using Weblate (Burmese) 2019-07-11 22:01:43 +02:00
陈少举
4da287945e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-07-11 22:01:43 +02:00
Yaron Shahrabani
c55baccf83 Translated using Weblate (Hebrew)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-07-11 22:01:43 +02:00
zsolt3991
f80b8a0e3c Translated using Weblate (Hungarian)
Currently translated at 54.0% (360 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-07-11 22:01:43 +02:00
postsorino
535d5ad038 Translated using Weblate (Greek)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-07-11 22:01:43 +02:00
HenRy
2484eaf990 Translated using Weblate (German)
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-07-11 22:01:43 +02:00
Rafael Fontenelle
21116ac31f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (667 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-07-11 22:01:43 +02:00
Molnár Barnabás
d135f0dc83 Translated using Weblate (Hungarian)
Currently translated at 50.5% (337 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-07-11 22:01:43 +02:00
zsolt3991
f6da70f30a Translated using Weblate (Hungarian)
Currently translated at 50.5% (337 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-07-11 22:01:43 +02:00
Andreas Shimokawa
27175cb336 Mi Band 4: Fix DeviceType emum
Reported by @goldfndr in #1536
2019-06-23 22:42:12 +02:00
Andreas Shimokawa
ce0bd27111 remove useless condition 2019-06-22 21:10:19 +02:00
Le Poisson Libre
3a8eac9c5a Translated using Weblate (French)
Currently translated at 99.8% (665 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2019-06-19 22:16:28 +02:00
Lejun
b9de8ce9cb Translated using Weblate (French)
Currently translated at 99.8% (665 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2019-06-19 22:16:28 +02:00
Rafael Fontenelle
ff09127a85 Translated using Weblate (Portuguese (Brazil))
Currently translated at 41.4% (276 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-06-19 22:16:28 +02:00
Andreas Shimokawa
9385c26fae Add missing MIBAND4 to switch 2019-06-19 22:15:42 +02:00
Andreas Shimokawa
8fce521e99 Fix crash when entering Mi Band 1 per-device settings menu
Fixes #1541
2019-06-18 22:07:43 +02:00
Andreas Shimokawa
d48d3cdea3 Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
f959022cad Translated using Weblate (Spanish)
Currently translated at 86.5% (576 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-06-06 16:17:40 +02:00
Andreas Shimokawa
f220477c9d update changelog 2019-06-05 23:30:56 +02:00
Andreas Shimokawa
bcf509327e bump version, add changelog 2019-06-05 18:11:55 +02:00
Andreas Shimokawa
0cf0dd0561 add missing icons to per-device settings 2019-06-05 17:52:47 +02:00
Andreas Shimokawa
59482a0bfc fix tests 2019-06-05 16:07:30 +02:00
Andreas Shimokawa
d779310962 Move "activate display on lift wrist" and "rotate wrist to switch info" to per-device settings
"activate display on lift wrist" for Mi Band 2/3, Cor, Bip
"rotate wrist" only for Mi Band 2
2019-06-05 16:00:18 +02:00
Andreas Shimokawa
16090f0e21 Move fake device offset to Mi Band 1 preferences, remove support for other devices
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
170cadda8e add missing file 2019-06-05 12:51:01 +02:00
Andreas Shimokawa
b6a015c18b move low-latency setting for Mi Band to per-device settings (only for Mi Band 1) 2019-06-05 12:48:33 +02:00
Andreas Shimokawa
d2988f987f Mi Band 3: Whitelist FW 2.4.0.12
Closes #1530
2019-06-05 12:29:25 +02:00
ssantos
6c4be39fc6 Translated using Weblate (Portuguese)
Currently translated at 59.9% (399 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-06-05 12:20:19 +02:00
Full Name
1e234c5f2a Translated using Weblate (Czech)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-06-05 12:20:19 +02:00
Rafael Fontenelle
98faf3b4f0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 41.1% (274 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-06-05 12:20:19 +02:00
Andreas Shimokawa
3aa36324c1 depuplicate code in the same fashion as in ZeTime preferences 2019-06-05 12:16:10 +02:00
Andreas Shimokawa
78dd7ef153 Mi Band 3: Fix setting menu items with 2.4 firmware and add support for the new timer menu 2019-05-29 15:53:44 +02:00
Andreas Shimokawa
12e16ac04a add ignoring calls support to Amazfit Bip (probably Cor also and maybe Mi Band 3) 2019-05-25 22:19:19 +02:00
Andreas Shimokawa
e066e0fae3 Merge remote-tracking branch 'github/pr/1523/ignore_call' 2019-05-25 22:12:58 +02:00
Andreas Böhler
dc22aabb1c Add support for muting an incoming call 2019-05-25 15:56:21 +02:00
Andreas Shimokawa
b2f79f3283 Update robolectric to 4.2.1 2019-05-25 00:07:21 +02:00
Andreas Shimokawa
93f288b936 Move "Do not disturb" settings from Mi Band / Amazfit settings to per-device settings (Mi Band 2 and Mi Band 3 only) 2019-05-24 23:47:57 +02:00
Andreas Shimokawa
5e254baaa1 ZeTime: Do not include all the normal preferences again
This behavious was confusing, you could endlessly access ZeTime preferences from ZeTime prefrences from ZeTime preferences
2019-05-24 22:15:39 +02:00
Andreas Shimokawa
d1ba702e75 add more settings migration for settings that are now per-device 2019-05-23 23:24:49 +02:00
Andreas Shimokawa
e6eba8fbe0 try to make travis green again 2019-05-23 22:17:51 +02:00
Andreas Shimokawa
6c6afaf81a update gradle to 5.1.1 2019-05-23 22:02:25 +02:00
Andreas Shimokawa
3440485a51 Mi Band 2: move settings to per-device settings 2019-05-23 21:33:35 +02:00
Andreas Shimokawa
34e0c4e8bc remove swipe unlock settings from cor (can only be set from the band itself) 2019-05-22 19:04:38 +02:00
Marvin D
530d0ddd7f
added FairEmail as a generic Email notification 2019-05-22 14:19:14 +02:00
Andreas Shimokawa
da456e63e9 Amazfit Cor: Restrict language settings to English, Spanish, Chinese, Russian 2019-05-22 11:00:06 +02:00
Andreas Shimokawa
038f101a12 Migrate more settings to per-device settings
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f Make per-device settings more versatile, move more settings
This allows to construct per-device settings by device type very easily

device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.

@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
     return new int[]{
            R.xml.devicesettings_miband3,
            R.xml.devicesettings_swipeunlock,
            R.xml.devicesettings_pairingkey
    };
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
49667451d7 Mi Band 3: fix setting language (regression after todays refactoring) 2019-05-20 23:27:17 +02:00