theghostofheathledger
ed6b2e44b9
Add com.samsung.android.incallui to handleCallNotification blacklist
2022-05-17 11:55:29 +02:00
mvn23
43bcac072d
Add com.asus.asusincallui to handleCallNotification blacklist
2022-05-09 17:48:34 +02:00
vanous
020c4aacd5
add OpenTracks Nightly into whitelisted persistent notification apps
2022-02-20 15:07:50 +01:00
mvn23
3c4799a339
Add support for native Do Not Disturb
functionality on Fossil watches
2021-11-23 17:22:27 +01:00
vanous
d3d4130a95
Reworking notification management
...
- rename some methods to better indicate their functions.
- make the notification filter to be allow or deny list,
solves #2256 and #336
- make app word filter to behave based on allow/deny settings.
- make Pebble notifications to honor the allow/deny settings.
- add generic "debug function" to Debug activity.
- add Message privacy mode settings, solves #2279
2021-10-10 11:49:13 +02:00
Arjan Schrijver
31d2563a18
Fossil Hybrid HR: Show correct notification icons ( #2251 )
...
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-20 09:55:27 +02:00
vanous
b65c10907f
allow fitness apps to send ongoing notification
2021-03-28 22:39:34 +02:00
Arjan Schrijver
cff4b65fb8
Fossil Hybrid HR: Sync notification dismissals to watch ( #2219 )
...
Fossil Hybrid HR: Move check for autoremove_notifications pref to NotificationListener
Fossil Hybrid: Rename logger to LOG and replace printStackTrace calls
Keep and maintain list of notifications pushed to device
Fossil Hybrid HR: Make autoremove notifications toggleable in device settings
Fossil Hybrid HR: Sync notification dismissals to watch
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2219
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-03-08 14:29:08 +01:00
Andreas Shimokawa
5746c9aa63
Also ignore com.google.android.dialer, not only com.android.dialer where appropriate
...
Should fix #2209
2021-03-05 19:27:32 +01:00
t-m-w
5a9d1e23f5
Update Do Not Disturb support to allow priority notifications to break through.
2020-12-28 22:02:05 +01:00
Andreas Böhler
4fd904d33f
Rebuild notification handling to work with postTime() instead of getId()
2020-11-21 22:12:19 +01:00
Andreas Böhler
4ad8eaab89
Fix removal of notifications
2020-11-21 22:12:19 +01:00
TaaviE
29431a0813
Fixed a bug with com.Slack's package name being impossible to look up
2020-10-11 19:16:31 +03:00
TaaviE
cbc99b49ab
Caught an another exception that occurs when there's no access to the notifications
2020-08-30 17:53:50 +03:00
TaaviE
6cd59fbd24
Refactored all pairing and bonding activities ( #1989 )
...
Fixed a few warnings
Refactored all bonding and bonding activities
Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
Andreas Shimokawa
c800a18a46
Prevent NPE in notification filter code
...
Closes #1984
2020-08-18 15:58:18 +02:00
Dmitry Markin
a8638a52fa
Stop an incoming call notification when a VoIP call is missed
2020-06-20 11:52:49 +03:00
Andreas Shimokawa
0115575317
Ignore com.android.incallui when handling voip call notifications
...
Hopefully helps with #1881
2020-06-06 23:34:26 +02:00
Zhong Jianxin
6335b4c86a
Debounce onSetMusicInfo/onSetMusicState calls
...
When music player switchs a song, multiple notifications(around 5 in my
test) are sent to NotificationListner, during this,
MediaControllerCompat does not always get the music info we need, the
music info and state seem randomly combined previous song and current
one.
To avoid unnecessary music info updates, debounce
onSetMusicInfo/onSetMusicState calls, so only the last music info and
state are sent to the device.
2020-05-19 23:23:45 +08:00
mamutcho
33b175854a
Fix alarm notification
2020-03-13 20:43:41 +02:00
Dmitriy Bogdanov
7016fd25c5
NotificationListener: fix obvious lint warnings
2020-03-12 10:03:04 +01:00
Dmitriy Bogdanov
94683a863d
Fix VoIP call handling during "Do Not Disturb" mode
...
Also honor notification blacklist for such calls.
2020-03-12 10:03:04 +01:00
Dmitriy Bogdanov
082c23b922
Minor NotificationListener refactoring
...
No logic changes were made, only some code reorganization.
2020-03-12 10:03:04 +01:00
Dmitry Markin
b321956c7c
Stop an incoming VoIP call notification when the call is answered
2020-01-30 00:31:00 +03:00
Andreas Shimokawa
b91f357dc0
Whitelist group summary notifications for "mikado.bizcalpro"
...
Causes multiple notification to be sent, but this seems to be a bug from that app
2020-01-28 11:12:56 +01:00
Andreas Shimokawa
01d19e5384
VoIP calls: ignore notifications with only one action, assuming it is an outgoing call
...
(Might improve #1780 )
2020-01-26 19:28:19 +01:00
License Bot
d6fa5d0dd5
Update license headers
2020-01-09 10:44:32 +01:00
License Bot
1dc8c26e2a
Update license headers
2019-12-06 22:51:43 +01:00
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
4641e51715
Fix possible KitKat crash in NotificationListener
...
Also fix some more warnings
2019-09-17 13:37:03 +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