Daniele Gobbetti
eede85a9c9
Various improvements and bugfixes to notification handling
...
Prevent duplicate notifications with a dedicated data structure (not reusing
the anti-burst one) #1062 , #657
Pebble: Forward the actions attached to notifications (not only reply)
inspired by the work of dnastase #705
2018-10-31 21:47:12 +01:00
Daniele Gobbetti
b9999edf2a
Ignore notifications that are older than the last forwarded one for the
...
same source.
This reuses the data structure populated to prevent overflow, but avoids
to forward notifications that are older than the reference.
2018-10-29 18:39:38 +01:00
Daniele Gobbetti
29dc806fb1
Ignore notifications that are older than 1 second
...
In case of grouped notifications, we get multiple notifications
also if the android device shows only one.
This means that with this change the most recently updated chat
will get through, but others will not.
This should help with #1062 and #657
2018-10-28 18:03:01 +01:00
Andreas Shimokawa
dde8a5044f
Mi Band 3: Whitelist FW 1.8.0.0
2018-10-28 15:32:57 +01:00
উৎসব রায়(Utsob Roy)
e66d0a2d10
Enhancement and Fixes for Bengali Transliteration. ( #1263 )
...
* Added various fixes and enhancment for Bengali transliteration.
* various fixes and enhancment for Bengali transliteration
* fixed a coding typo [master]
* Boolean lowercase and added .project in .gitignore
* Boolean lowercase and added .project in .gitignore
* typo fix [master]
* fixed negative index error [master]
* fixed negative index error [master]
* unprinted character fix [master]
* enhanced transliteration [master]
* lowercased boolean and replaced Integer with int [master]
* removed .setting, .classpath and .project and added them to .gitignore too.
* bug fix and multilingual testcase [master]
2018-10-01 23:04:51 +02:00
José Rebelo
e62fe36391
Roidmi 3: Fix and enable support
2018-09-28 16:35:09 +01:00
Andreas Shimokawa
b1b318a18b
Amazfit Bip: Allow flashing latest gps firmware from Mi Fit 3.5.1.1 (Mili_dth.gps)
...
This file seems to be for the Bip2, but firmwares.json also refereces this for the Bip.
And it seems to work.
2018-09-23 12:02:34 +02:00
cpfeiffer
60397c88c0
Avoid possible NPE
2018-09-23 11:27:35 +02:00
cpfeiffer
6d4d92fd88
Live Activity: don't enable notifications every second
...
This caused the BLE queue to fill up more and more.
2018-09-17 23:02:18 +02:00
cpfeiffer
d3fd203c6c
Avoid possible NPE
2018-09-17 23:02:18 +02:00
cpfeiffer
cfddba0e4d
Remove unused field and redundant casts
2018-09-17 23:02:18 +02:00
Newline Bot
a55c3d7220
Replace CRLF with LF (no content changes)
2018-09-17 18:28:56 +02:00
cpfeiffer
934f36f45a
Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
...
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
Carsten Pfeiffer
226ae54ae6
Merge pull request #1265 from elagin/live_activity_2
...
Enhancement LiveActivityFragment (2)
2018-09-16 20:43:59 +02:00
Pavel
62e080d5ac
Update LiveActivityFragment.java
...
I'm sorry, I wanted to add entry if > min HR
2018-09-16 20:35:28 +03:00
cpfeiffer
8c1a1861e4
Fix some static analysis warnings
2018-09-16 13:59:16 +02:00
cpfeiffer
c1de677448
Remove redundant null checks
2018-09-16 13:58:01 +02:00
cpfeiffer
100ed9f50c
Use \n as line endings
2018-09-16 13:55:57 +02:00
cpfeiffer
5028458fe8
Fix some static analysis warnings
2018-09-16 13:54:56 +02:00
cpfeiffer
08dfa2a47d
Log the stacktrace as well
2018-09-16 00:12:52 +02:00
cpfeiffer
f142003f09
Avoid boxing
2018-09-16 00:12:40 +02:00
cpfeiffer
ce2f984e9f
Fix some file closing issues
2018-09-15 23:54:51 +02:00
cpfeiffer
8aad6cd620
Avoid autoboxing, remove redundant cast
2018-09-15 23:51:51 +02:00
cpfeiffer
898165ce0b
Avoid lots of false static analysis warnings
2018-09-15 23:30:39 +02:00
cpfeiffer
08595f4e3d
Avoid autoboxing
2018-09-15 22:52:30 +02:00
cpfeiffer
87bee53ef3
Add a tiny bit of javadoc
2018-09-15 22:43:45 +02:00
cpfeiffer
f9e600d369
Deduplicate code
2018-09-15 22:38:20 +02:00
cpfeiffer
d6f5e36e12
Huami devices: Fix seldom fetch failures (better support for app level ble feedback)
...
Fixes #1264
2018-09-15 22:24:27 +02:00
Pavel Elagin
e85257b545
Show current / max heart rate. Ignore heart rate < user settings. Invisible button bar into LiveActivity. Auto scale totalStepsChart. Fix time x axis history chart. Draw total and per minute steps. Set limit on per minute chart by user settings.
2018-09-13 12:51:52 +03:00
cpfeiffer
b6d68207cb
Don't store the live step values in the db
2018-09-11 23:26:51 +02:00
cpfeiffer
add9be5ff6
Another place to handle possible negative steps values
2018-09-11 23:24:27 +02:00
cpfeiffer
aee0e54d05
Handle possible negative steps values
2018-09-11 23:08:29 +02:00
cpfeiffer
fbcd2840ca
No need to call method twice
2018-09-11 23:04:18 +02:00
Andreas Shimokawa
59ddedcf9a
Mi Band 3: Whitelist FW 1.6.0.16
2018-09-11 21:35:30 +02:00
Andreas Shimokawa
6644ad0bb0
Mi Band 3: Allow enabling the "Workout" menu item
...
(This is called "Activity" in Gadgetbridge, since we have that on the Bip, we should probably rename that to Workout also for consistency with the menus)
2018-09-11 21:32:13 +02:00
cpfeiffer
88ad6cf0e0
Improve balance handling
2018-09-10 23:41:01 +02:00
Pavel Elagin
4592d35cc6
Calculation and display of weekly balance by steps and time of sleep.
2018-09-10 23:41:01 +02:00
cpfeiffer
a2bd8212f6
Attempt to fix connection problems on Samsung devices
2018-09-06 18:25:41 +02:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
...
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
b3e8e92441
fix long word bug in Rtl support
2018-09-05 23:21:18 +03:00
Roi
3e6ddcc714
fix long word bug in Rtl support
2018-09-05 23:19:35 +03:00
Roi
5a1733f5ec
Add Farsi contextual form
2018-09-05 22:44:40 +03:00
Carsten Pfeiffer
449184c591
Merge pull request #1253 from skweee/android9callerid
...
Fix caller ID for incoming calls on Android 9
2018-09-05 21:37:24 +02:00
cpfeiffer
4f7e5b256a
Use constants for "rtl" and "contextualArabic" preferences
2018-09-05 21:32:06 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
...
Adding RTL support
2018-09-05 20:48:15 +02:00
Johannes Tysiak
d4ea5dfd44
Fix caller ID for incoming calls on Android 9
...
Fixes #1252
2018-09-05 20:41:01 +02:00
M. Hadi
ddecab7d25
Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations.
2018-09-05 10:08:10 +02:00
Roi Greenberg
761d8327f9
Add Unittest for Rtl + some small fixes
2018-09-05 01:39:01 +03:00
cpfeiffer
19ee3a14d4
Handle batter state LOW without a level
...
Fixes #1197
2018-09-04 22:31:12 +02:00
Carsten Pfeiffer
5e4ecd774b
Merge pull request #1181 from Dikay900/remove_invalid_hr_data
...
remove incorrect HR data <10 from the graphs
2018-09-04 21:08:21 +02:00