cpfeiffer
f3a7861fdb
Fix some lgtm warnings
2019-02-28 21:57:45 +01:00
License Bot
beedb653e6
Update license headers
2019-02-13 20:43:31 +01:00
Daniele Gobbetti
75d3dffb14
Migrate to androidx support libraries and bump compile SDK version
...
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
License Bot
696653eabf
Update contributors list and license headers.
2018-08-29 21:30:23 +02:00
Pavel Elagin
6904a62d41
Add share log file. Issue #1146
2018-08-28 21:50:12 +02:00
License Bot
225a600aed
Update license headers
2018-06-25 18:35:46 +02:00
Daniele Gobbetti
6807714af3
Register autofetch receiver in DeviceCommunicationService
...
This allows the register to be registered only when the device is connected,
and also toggling without completely exiting the application.
The logic in the receiver itself was simplified and an explanation added
to the preference summary.
2018-06-23 11:19:09 +02:00
Martin
36aae1e81c
Auto sync feature ( #1127 )
...
* Auto fetch feature
fixes #1116
2018-06-19 21:54:15 +02:00
Daniele Gobbetti
4d0020ae1d
Add the option the blacklist applications also for Pebble Messages
...
Fixes #996
2018-06-18 20:38:37 +02:00
Daniele Gobbetti
65b0d9da4b
Explicitly register the bluetooth state change receiver on Oreo
...
The implicit manifests declaration is not enough anymore
2018-05-16 19:03:06 +02:00
Daniele Gobbetti
134905ed6a
Missing method needed by the previous commit.
2018-04-12 22:07:15 +02:00
TaaviE
08feaf30e1
Fixed a bunch of misspells.
2018-03-31 17:31:48 +02:00
Andreas Shimokawa
3d3cc1f40c
Merge branch 'master' into bip-wip
2018-03-13 17:27:18 +01:00
License Bot
238bacde9f
Update license headers
2018-02-26 14:27:33 +01:00
Andreas Shimokawa
e48885df7d
Merge branch 'master' into bip-wip
2018-02-15 23:38:06 +01:00
Daniele Gobbetti
e28333fe6e
Fixes to make the application run on Oreo
...
- tested on Oreo 8.1
this commit includes changes cherry picked from 3b6da66643
2018-02-14 21:35:22 +01:00
cpfeiffer
f5318287c4
WIP: Bip GPS fetching, parsing, exporting
...
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00
cpfeiffer
962720145e
Fix custom language being lost for newly created activities
...
So we do need to set the language both on change and onCreate()
For some reason, the title bar of the SettingsActivity is not updated on recreate().
Closes #787
2017-09-03 01:04:34 +02:00
Daniele Gobbetti
8cce2d1362
Pebble: allow to blacklist certain calendars
...
As requested in #736 , this adds an entry in the settings menu that allows to blacklist certain calendars.
To avoid confusion, all the former blacklist methods and fields have been renamed to apps_blacklist. The new entries are called calendars_blacklist.
Importing the settings has not been tested with the current changes.
Closes #736
Future improvements TODO: The new setting lives in the Pebble section, i believe in the future the blackslist functionality should be centralized and put in the sidebar.
2017-08-18 10:34:42 +02:00
cpfeiffer
95ce3d333e
Ugly workaround for blacklist not properly persisting
...
Fixes #696
2017-08-01 00:10:10 +02:00
cpfeiffer
12f9386fac
Also handle resetting language to default properly #733
2017-07-31 23:00:02 +02:00
cpfeiffer
c1925a4e64
Properly handle and distribute language change #733
...
Also centralize QUIT handling in GBActivity
2017-07-31 22:49:05 +02:00
cpfeiffer
e279cd736f
Some logging for the weird blacklist issue #696
2017-05-21 21:02:23 +02:00
cpfeiffer
c3c5e0415d
The Real Fix #666
2017-04-27 07:57:57 +02:00
cpfeiffer
f1fbab7dd9
Revert "Revert "Adjust test case setup and fix failing tests""
...
This reverts commit b0384e90d5
.
2017-04-27 07:57:57 +02:00
Andreas Shimokawa
b0384e90d5
Revert "Adjust test case setup and fix failing tests"
...
This reverts commit d9b0d639b8
.
2017-04-27 07:39:36 +02:00
cpfeiffer
d9b0d639b8
Adjust test case setup and fix failing tests
...
- add missing call super.setUp() in LoggingTest
- make use ofGBApplication's logger and db support instead
of adding specific test things. Avoids differences between
the local test things and the global GBApplication instances.
2017-04-25 21:55:06 +02:00
cpfeiffer
2003d56190
Cleanup package blacklist handling
...
Didn't find a cause for #664 , though.
2017-04-22 16:59:55 +02:00
Daniele Gobbetti
18157daf46
Ensure that the Notification listener service gets restarted if crashed.
...
This change adds an additional service that checks the status of the NotificationListenerService, and restarts it if it's stale/crashed.
Crashes happen mostly during development, but were reported also by users.
2017-04-19 13:23:13 +02:00
Daniele Gobbetti
2e98b1396f
Do not override the android:* text colors, define our own. This fixes a crash on API 19.
...
Also define them in the attrs xml file and do some grouping in the colors xml.
It might be we don't need them at all, but for the time being let's keep them around.
2017-04-08 15:49:00 +02:00
Daniele Gobbetti
2c152e8447
Override textColorPrimary and not textColor as it conflicts with support libraries (e.g. snackbar text).
...
Further, use textColorPrimary in the graphs instead of textColor.
2017-03-11 16:48:55 +01:00
License Bot
e392fbfd80
Add license header to all java files.
2017-03-10 14:53:19 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
Daniele Gobbetti
c1abaaa4e0
Add support for hiding the icon in the status bar and the notification on the lockscreen.
...
This adds proper settings to toggle GB behavior and closes #460 .
2017-01-08 15:51:56 +01:00
Andreas Shimokawa
ed38e524bf
Make some static stuff non-static (potentially fixes instant run problem and leaks)
2016-12-07 23:13:51 +01:00
Andreas Shimokawa
352fc1a030
fix wrong return value
2016-11-25 14:53:12 +01:00
cpfeiffer
9bebf1d32f
When memory is really low, free up some memory #436
...
(although we probably can't save much)
2016-11-24 21:15:27 +01:00
Daniele Gobbetti
1e6cb67edd
UI refactoring of the DB management activity.
...
Added a method to delete the legacy DB only.
2016-08-31 17:35:28 +02:00
cpfeiffer
6340bcff15
Small cleanup
2016-08-31 00:03:20 +02:00
cpfeiffer
840a125c81
Fix compilation
2016-08-27 22:55:00 +02:00
cpfeiffer
8d6e6c8675
Upon request, delete not only the old, but also the new database
2016-08-27 22:51:00 +02:00
Andreas Shimokawa
5ab40918c0
rename database from test-db5 to Gadgetbridge
2016-08-26 23:48:54 +02:00
cpfeiffer
49b8b9ebca
More robolectric stuff
...
- guard against multiple GBApplication.onCreate() invocations
- test DBHelper.getDevice() for a start
2016-08-25 00:00:53 +02:00
Andreas Shimokawa
4ddbbfdfb0
change db name to test-db5
2016-08-14 22:36:50 +02:00
cpfeiffer
f54163faeb
centralize quit() functionality in GBApplication
2016-07-08 22:35:52 +02:00
cpfeiffer
2fa166e381
Fix potential NPE, setup environment earlier
2016-06-25 18:58:54 +02:00
cpfeiffer
0596c80381
Some migration fixes
...
especially: add unique index on samples using timestamp and device id
(since composite primary keys are not fully supported yet)
2016-06-19 00:40:51 +02:00
cpfeiffer
233a6155cc
Add class DeviceManager that provides access to the list of managed devices
...
Basically moved code out of ControlCenter to a separate class. Also provides
change events when the device list has changed, or changes to the device
state have occurred.
2016-06-18 23:35:34 +02:00
cpfeiffer
61957d6cb0
WIP: more db work
2016-06-14 20:13:08 +02:00
cpfeiffer
3b87966fe9
Merge branch 'master' into db-refactoring
2016-06-06 22:16:40 +02:00