Commit Graph
100 Commits
Author SHA1 Message Date
cpfeiffer 235c3fb599 Replace findbugs with spotbugs and fix configuration for latest gradle 2019-09-19 22:31:49 +02:00
cpfeiffer 39388f48a9 Merge remote-tracking branch 'github/pr/1456' 2019-03-17 21:06:23 +01:00
cpfeiffer c9f1c110b0 Merge remote-tracking branch 'github/pr/1292' 2019-03-04 22:10:23 +01:00
cpfeiffer 38b85a91f5 Merge remote-tracking branch 'github/pr/1408' 2019-03-03 20:02:31 +01:00
cpfeiffer e6ebe8b2bd Don't crash on share when log file does not exist (#1444) 2019-02-28 22:04:05 +01:00
cpfeiffer f3a7861fdb Fix some lgtm warnings 2019-02-28 21:57:45 +01:00
cpfeiffer ebdf385baa Temporarily add back CasioGATTServer so that we can merge #1404 2019-02-27 21:36:00 +01:00
cpfeiffer 930a3ad9b2 Merge remote-tracking branch 'github/pr/1404' 2019-02-27 21:06:50 +01:00
cpfeiffer 8d6a9d98da Silence lgtm error messages
If the index would indeed be out of bounds, we would simply catch the exception and deal with that.
2019-02-27 20:52:16 +01:00
cpfeiffer 5140e05732 Merge remote-tracking branch 'github/pr/1423' 2019-02-27 19:00:11 +01:00
cpfeiffer 743ae50b92 Fix broken string format in German translation
Closes #1428
2019-02-16 23:48:39 +01:00
cpfeiffer 373e38eace Merge remote-tracking branch 'github/pr/1424' 2019-02-13 23:06:34 +01:00
cpfeiffer 72dada63ab Fix greendao dependency download 2019-02-11 21:01:13 +01:00
cpfeiffer 92e92ae792 Merge remote-tracking branch 'github/pr/1396' 2019-01-30 22:20:24 +01:00
cpfeiffer 0b0d18dd9f Merge branch 'master' into black_whitelist_for_notifications 2019-01-16 23:49:15 +01:00
cpfeiffer b969d576c4 Update changelog for 0.32.1 2019-01-13 20:42:39 +01:00
cpfeiffer 3763a4ef6b Use try-with-resources to close the db 2019-01-13 20:37:37 +01:00
cpfeiffer 3c0871f474 Improved toast messages for sleep widget 2019-01-11 00:03:17 +01:00
cpfeiffer 51632d16a2 Sleep Widget reacts to clicks now (on Android 8 at least), and...
sends the alarm directly to the wearable.
2019-01-10 23:59:19 +01:00
cpfeiffer 903b50c2c5 Improved DB-based alarms
- got rid of GBAlarm
- added migration for prefs-based alarms
- various cleanups
2019-01-07 01:15:49 +01:00
cpfeiffer fb85326939 performConnected() -> builder.qeueue(getQueue()) 2019-01-03 00:44:34 +01:00
cpfeiffer ad9b45a94d Make EmojiManager initialization synchronized 2018-12-23 23:40:02 +01:00
cpfeiffer 5644ae5925 Display measured hr value in Debug activity + cleanup
Fixes #1320
2018-11-05 23:27:29 +01:00
cpfeiffer 7cfe7d900a Comment out excessive logging #1311 2018-11-03 23:26:58 +01:00
cpfeiffer 6cc29f041c fixed lgtm recommendation 2018-11-02 00:10:52 +01:00
cpfeiffer effffddd8d fixed lgtm warnings 2018-11-02 00:09:30 +01:00
cpfeiffer 7ddd2a045a declare geposition variable 2018-11-02 00:09:30 +01:00
cpfeiffer 7e9a9ca875 Added a TODO 2018-11-01 22:05:38 +01:00
cpfeiffer 435898ebc9 Move MiBand3-ism to MiBand3Support 2018-11-01 22:05:38 +01:00
cpfeiffer 56477efcdf Specify new path to classes for findbugs after gradle update 2018-09-29 21:49:13 +02:00
cpfeiffer 045c0840e3 Update build-tools to 28.0.2 2018-09-29 00:04:23 +02:00
cpfeiffer c92ed132cf Update gradle to 4.10.2 2018-09-28 22:17:54 +02:00
cpfeiffer c203023fea Update build tools to 3.2.0 2018-09-28 22:15:24 +02:00
Carsten PfeifferandGitHub ecbfa38214 Merge pull request #1289 from joserebelo/roidmi
Roidmi 3: Fix and enable support
2018-09-28 21:26:43 +02:00
cpfeiffer 60397c88c0 Avoid possible NPE 2018-09-23 11:27:35 +02:00
cpfeiffer 9e44a7ad6d Add .gitattributes for consistent eol handling 2018-09-20 00:05:15 +02:00
Carsten PfeifferandGitHub 8355f7e820 Merge pull request #1268 from xcorail/master
Add LGTM code quality badges
2018-09-19 23:55:05 +02:00
Carsten PfeifferandGitHub 0b1190bc02 Merge pull request #1270 from comradekingu/patch-4
News strings reworked
2018-09-19 23:51:44 +02:00
cpfeiffer b1e122cbda Bump version 2018-09-17 23:09:35 +02:00
cpfeiffer 6ea9cc29bd Updated changelog for 0.30.0 release 2018-09-17 23:06:04 +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
cpfeiffer b9944ec028 Changelog for 0.30.0 2018-09-17 00:11:52 +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 PfeifferandGitHub 226ae54ae6 Merge pull request #1265 from elagin/live_activity_2
Enhancement LiveActivityFragment (2)
2018-09-16 20:43:59 +02:00
Carsten Pfeiffer 2993260b52 Update issue templates 2018-09-16 15:59:55 +02: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
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
cpfeiffer 88ad6cf0e0 Improve balance handling 2018-09-10 23:41:01 +02:00
Carsten PfeifferandGitHub d899e1aaef Merge pull request #1257 from elagin/language_settings_group
Group language settings.
2018-09-07 19:08:06 +02:00
cpfeiffer a2bd8212f6 Attempt to fix connection problems on Samsung devices 2018-09-06 18:25:41 +02:00
Carsten PfeifferandGitHub 7b709dd975 Merge pull request #1250 from haditim/persianTransliteration
Persian transliteration
2018-09-05 23:33:34 +02:00
Carsten PfeifferandGitHub 9612ce209f Merge pull request #1254 from roigreenberg/master
Rtl support: Add missing Persian letters + fix bug
2018-09-05 23:28:59 +02:00
Carsten PfeifferandGitHub 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
cpfeiffer bd162f6319 Fix small copy&paste issue in test cases 2018-09-05 20:49:15 +02:00
Carsten PfeifferandGitHub e67398af87 Merge pull request #1233 from roigreenberg/master
Adding RTL support
2018-09-05 20:48:15 +02:00
cpfeiffer 19ee3a14d4 Handle batter state LOW without a level
Fixes #1197
2018-09-04 22:31:12 +02:00
Carsten PfeifferandGitHub 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
Carsten PfeifferandGitHub 000f1ab478 Merge pull request #1249 from joserebelo/roidmi_fix
Roidmi: fix duplicated DeviceType key
2018-09-01 19:46:25 +02:00
Carsten PfeifferandGitHub ece0f094eb Merge pull request #1236 from uroybd/master
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Carsten PfeifferandGitHub b2db49770b Merge pull request #1179 from joserebelo/roidmi
New device: Roidmi
2018-08-31 20:03:45 +02:00
Carsten PfeifferandGitHub 52b6b8db73 Merge pull request #1222 from joserebelo/notifications-timeout
Support minimum time between notifications
2018-08-20 22:45:18 +02:00
cpfeiffer 15407e6cb4 Updated changelog for 0.29.1 2018-08-19 21:59:51 +02:00
cpfeiffer f89f0d7f77 Remove duplicate entry 2018-08-18 13:34:40 +02:00
Carsten PfeifferandGitHub 783246b45c Merge pull request #985 from comradekingu/patch-2
Spelling: device, System Weather, Norwegian bokmål, Android, .
2018-08-18 13:17:27 +02:00
Carsten PfeifferandGitHub fabe9834e9 Merge branch 'master' into patch-2 2018-08-18 13:16:47 +02:00
Carsten PfeifferandGitHub c4411a9c48 Merge pull request #1206 from UncleInf/transliterate_lithuanian
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
cpfeiffer d93799e72a Improve Teclast H1 and H3 device matching #1207 2018-08-18 12:57:21 +02:00
cpfeiffer 50295864f5 Use a custom IntentListener callback instead of LocalBroadcastManager for ble profiles
The issue here is the following:

- we used intents in the generic BleProfile classes to notify about the results of e.g. certain read requests
- we used to send these results asynchronously via LocalBroadcastManager.sendBroadcast(), which always used the main thread for sending
- however, we noticed that reconnecting to devices sometimes failed because the results arrived too late and the next action in the BLE queue lacked the necessary information
- the fix was to use LocalBroadcastManager.setBroadcastSync(), so that the results arrive in time
- this unfortunately meant that they were not sent in the main thread anymore, and especially, this would send all pending intents that were previously queued via sendBroadcast() also in the "wrong" thread (in order to keep the order of events)

The fix is to use a custom IntentListener callback interface for synchronous notifications of ble profile results
*without* also causing other, previously queued intents to be sent.

Fixes #1218
2018-08-18 00:39:14 +02:00
cpfeiffer 98cd54657a Avoid unnecessary boxing 2018-08-17 00:28:00 +02:00
cpfeiffer c6bfd296a6 Avoid another potential NPE 2018-08-17 00:22:52 +02:00
cpfeiffer f96b10cca0 Avoid potential NPE 2018-08-17 00:19:10 +02:00
cpfeiffer 0b63fa1c59 Remove some (now) unnecessary casts 2018-08-17 00:13:38 +02:00
cpfeiffer 0145013597 Add some @Nullable 2018-08-17 00:13:38 +02:00
cpfeiffer e32dcd9d73 Update gradle, may need Android Studio settings change, see below
If you get a message about disabling "Configuration on demand" in gradle.properties,
do the following:

Open File -> Settings -> Build, Execution, Deployment -> Compiler
and uncheck "Configure on demand".

No messing with gradle.properties necessary.
2018-08-17 00:13:38 +02:00
Carsten PfeifferandGitHub 26fcb3cbbb Merge pull request #1212 from elagin/legend_wordwrap_center
Enable word wrap and set center horizontal alignment for legend into …
2018-08-16 23:58:00 +02:00
Carsten PfeifferandGitHub 73f699c602 Merge pull request #1207 from Dougal19/master
Support added for H3 watch strap
2018-08-16 23:54:33 +02:00
Carsten PfeifferandGitHub f2db7b2919 Merge pull request #1216 from elagin/start_end_sleep
Display start and end sleep.
2018-08-16 23:40:01 +02:00
cpfeiffer dd3cbc3e31 Update changelog for 0.29.0 2018-08-08 21:57:32 +02:00
Carsten PfeifferandGitHub 4a07c63381 Merge pull request #1194 from elagin/string_toString
Redundant String.toString()
2018-08-08 21:34:45 +02:00
Carsten PfeifferandGitHub 95e39cabba Merge pull request #1190 from maxirnilian/watch9
Watch 9: Initial support
2018-08-08 21:16:59 +02:00
cpfeiffer e15afaab2f Probe connected devices first for firmware installation 2018-08-06 23:13:59 +02:00
cpfeiffer 22e7569587 Add a small testcase for logging 2018-08-06 23:13:59 +02:00