Daniel Dakhno
0fe97c687d
created api specific abstraction layer
2019-10-25 19:13:55 +02:00
dakhnod
90f685c1a7
improved activity hand handling
2019-10-21 15:15:59 +02:00
dakhnod
b7277f02a6
fix notification lookup crash
2019-10-20 13:11:00 +02:00
dakhnod
2a96f762af
added option to track notification count with activity hand
2019-10-20 01:42:31 +02:00
Andreas Shimokawa
4bf37ea70f
Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied
2019-10-12 19:44:45 +02:00
Andreas Shimokawa
4641e51715
Fix possible KitKat crash in NotificationListener
...
Also fix some more warnings
2019-09-17 13:37:03 +02:00
Andreas Shimokawa
8bed673a95
Annotate LineageOsWeatherReceiver as Android >=M, and only try to use it with Oreo or later
2019-08-22 21:31:08 +02:00
keeshii
a70aa5e749
Added LineageOs Weather receiver.
2019-08-22 21:28:13 +02:00
Andreas Böhler
dc22aabb1c
Add support for muting an incoming call
2019-05-25 15:56:21 +02:00
Andreas Shimokawa
4638acf2d3
Add setting to enable voip call support (default off)
...
There were too many bugs reported, so make that optional
2019-03-17 19:02:18 +01:00
License Bot
beedb653e6
Update license headers
2019-02-13 20:43:31 +01:00
cpfeiffer
92e92ae792
Merge remote-tracking branch 'github/pr/1396'
2019-01-30 22:20:24 +01:00
Daniele Gobbetti
1832692b22
Skip duplicate notification prevention for apps that do not populate
...
the "when" field, like some Calendar apps.
Closes #1397
2019-01-26 16:17:51 +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
veecue
09cb8ca0fe
added nofications for VoIP calls
2019-01-19 20:03:01 +01:00
abettenburg
86e92130d2
Updated PullRequest with recommended improvements
2019-01-12 10:00:33 +01:00
abettenburg
51399066a4
Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
...
# Conflicts:
# app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
Andreas Shimokawa
a354bdca30
try to satisfy lgtm
2018-12-18 10:26:29 +01:00
AndrewBedscastle
f90ba76fc0
No more hardcoded strings
...
Save and load packageName as lowercase String
Do not save empty strings as Notification Filter Entry
2018-12-06 15:11:50 +01:00
abettenburg
d6190e6e59
Apps Notification can now be configured to filter notification content based on black- and whitelists
...
Go to notification blacklist, allow an app if blacklisted, than configure it's behavior with the menu icon on the right hand side.
Should be pretty much self explanatory.
Database Scheme raised to 20
2018-12-03 09:48:16 +01:00
Matthieu Baerts
d60d10ddb1
notif: sanitize strings set by external apps
...
It seems some apps like Telegram add a lot of Unicode Control sequences
for unknown reasons. Because these strings are set by external apps, it
is safer to sanitize them. For the moment, only Unicode control
sequences are stripped.
Fixes : #1344
2018-11-26 07:33:44 +01:00
Andreas Shimokawa
6f51d96879
bump version, update changelog
2018-11-17 16:43:14 +01:00
Andreas Shimokawa
7cf6a59420
fix everything
2018-11-17 16:35:37 +01:00
Andreas Shimokawa
b228c7b061
bump version, add changelogs
2018-11-15 20:30:15 +01:00
Andreas Shimokawa
59f8e72410
Notification actions refatoring and fixes
...
- Fixes "Mute, Open, Dismiss" to work again on pebble
- Greatly reduces complexity in PebbleProtocol, since all logic for adding specific reply actions to notification have been moved to generic code
Fixes the rest of #1336 (the part that says "Additionally, dismissing a notification on the watch no longer dismisses it on the Android device")
2018-11-15 15:53:04 +01:00
Andreas Shimokawa
bd874089d0
Ignore group summary of k9 notifications
...
Fixes part of #1336
2018-11-14 23:59:26 +01:00
Andreas Shimokawa
17a82f09f2
Pebble: Temporarily disable broken autoremove notification feature
2018-11-03 20:49:49 +01:00
Daniele Gobbetti
549dfce2e7
Pebble: generalize handling of incoming actions (from watch)
...
Also add missing casts back to int in NotificationListener
2018-11-01 19:40:26 +01:00
Andreas Shimokawa
e54f1eaccc
SMS: add reply action in generic code (no longer explicitly handled in PebbleProtocol)
2018-11-01 16:58:20 +01:00
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
cpfeiffer
08595f4e3d
Avoid autoboxing
2018-09-15 22:52:30 +02:00
Johannes Tysiak
d4ea5dfd44
Fix caller ID for incoming calls on Android 9
...
Fixes #1252
2018-09-05 20:41:01 +02:00
License Bot
696653eabf
Update contributors list and license headers.
2018-08-29 21:30:23 +02:00
José Rebelo
fa1e9b8938
Support minimum time between notifications
2018-08-19 11:07:58 +01:00
cpfeiffer
98cd54657a
Avoid unnecessary boxing
2018-08-17 00:28:00 +02:00
Daniele Gobbetti
9517fa211e
Intercept alarm actions of the google clock application
...
Implemented blindly based on the information provided in #1199
Fixes #1199
2018-08-10 18:36:29 +02:00
License Bot
225a600aed
Update license headers
2018-06-25 18:35:46 +02:00
Daniele Gobbetti
2ca8e4a4e4
Forward notifications marked as local only if they are emitted by skype
...
Also add skype for business package name.
Blind implementation as I don't have access to these apps.
Fixes #1109
2018-06-18 20:52:26 +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
f1736808cb
Auto connect at boot on recent androids respecting the user settings
...
Automatically connect at boot if gadgetbridge is configured to start at
boot and to attempt an automatic connection when bluetooth is available
Fixes #693 and fixes #891
2018-05-16 19:08:53 +02:00
Daniele Gobbetti
d109630e74
Use TelephonyManager getCallState() instead of the provided extras
...
According to the documentation the current call state might be not correctly
contained in the extra, and using getCallState() is the right thing to do
Might help for #799 (and #756 )
2018-05-16 18:56:36 +02:00
Andreas Shimokawa
3f421facab
Always cleanup device and receiver in service when disconnecting
...
Fixes #1093
I have no idea why the code was like this, so the change might have some bad consequences...
2018-05-11 20:50:29 +02:00
Andreas Shimokawa
965964a6b7
Weather: get wind direction and speed also from CM weather reciver
2018-04-14 21:56:10 +02:00
Daniele Gobbetti
cc83021ae3
Weather (and Pebble Webview): fix name and add wind information to weather data
...
Wind information are stored and put in the reconstructed OWM response.
A long standing bug (having the "name" field inside "main" instead of at
the root level of the json) has been fixed
Lineage OS receiver and if possible weather notification app receiver will
be added in further commits.
See #482
2018-04-14 19:42:05 +02:00
TaaviE
6be7ee4a96
Fixed a few misspells and extended my name.
2018-03-23 07:26:25 +01:00
License Bot
238bacde9f
Update license headers
2018-02-26 14:27:33 +01:00
TaaviE
18cec2087f
Changed API version and everything else required.
...
(cherry picked from commit db1a282
)
2018-02-14 21:35:06 +01:00
Daniele Gobbetti
831303aea8
Fix regression introduced by 737578debc
...
With many thanks to https://github.com/80tf3262p8 who spotted the error
closes #975
2018-02-10 16:54:20 +01:00