Commit Graph

46 Commits

Author SHA1 Message Date
B. Petersen 6e980cb316 check against null-pointer return from RingtoneManager.getRingtone(), tackles #984 2019-07-06 00:58:42 +02:00
cyBerta 0511f05085 minor clean up 2019-06-05 15:43:59 +02:00
cyBerta b919f323b5 Delete notifications when chat gets deleted. Guarantee thread safty 2019-06-04 17:09:47 +02:00
cyBerta b4cdb8553a respect android system settings (e.g. 'do not disturb') regarding the notification sounds 2019-06-04 14:46:30 +02:00
cyBerta f209fa6772 remove unneded interface 2019-05-29 13:03:45 +02:00
cyBerta 451ea1dbad Don't use notification's / notification channel's sound and vibration functionality at all.
Instead we're handling sound and vibration alerts separately. It allows us to dynamically
change the 'signal' flag  turning on and off sounds on Android O+ without posting into different
channels for loud and silent notifications. This way we keep the grouped notification view
instead of falling back to the pre API 23 summary notificatoin view.
2019-05-29 12:07:37 +02:00
cyBerta 7f6823a650 silence notification channels if needed 2019-05-28 15:40:27 +02:00
cyBerta 9c3aca2fb0 fix some lint issues 2019-05-28 10:44:09 +02:00
cyBerta 35138022e9 notification refactoring 2019-05-28 01:11:40 +02:00
B. Petersen 32e34e5955 play soundOut for outgoing messages 2019-05-20 18:11:10 +02:00
cyBerta ada024f614 play 'plop' sound on send button click 2019-05-20 14:14:29 +02:00
cyBerta 8dd8a1d771 add 'plop' sound for in-chat incoming messages 2019-05-20 14:01:27 +02:00
cyBerta 45570353e9 silence incoming notifications within the first minute after app start (relates to #451) 2019-05-16 12:50:24 +02:00
cyBerta f1a0bb3ecf remove dead code in MessageNotifier 2019-05-16 11:48:56 +02:00
cyBerta 28fbb354b3 don't show info messages as notifications 2019-05-16 11:32:21 +02:00
cyBerta af319888d9 * do send notification signal if app is in background
* show last message in the notification summary
* change order of notification items (newest at the top)
2019-05-15 18:22:22 +02:00
cyBerta dc3eb272f9 update notification bar on entering a chat (fixes #725) 2019-05-15 18:22:22 +02:00
daniel.boehrs e2a2786e3e Empty notification for voice and image messages #821 2019-04-12 14:58:45 +02:00
B. Petersen d81cd18d57 simplify Recipient object, load message for notifications only once, less locking in Recipients object 2019-03-30 00:28:30 +01:00
Angelo Fuchs 36b501e01a wording 2019-02-14 19:32:53 +01:00
B. Petersen 8f07d86087 wording 2019-02-14 18:22:37 +01:00
B. Petersen 40bfa15dea update notifications of visible thread in bg, fixes #720 2019-02-14 18:17:08 +01:00
B. Petersen a5ccd9da79 wording 2019-02-14 18:07:30 +01:00
cyBerta 3dd9a247dd #451 hide incoming heads-up notifications as long as a thread is visible 2019-02-01 00:52:10 +01:00
Angelo Fuchs 4e031e260c reducing the importance of notifications while a chat is displayed #451 2019-01-29 14:34:46 +01:00
Angelo Fuchs a6b35b2a87 removed obsolete code #451 2019-01-29 14:02:52 +01:00
Angelo Fuchs 0b9cfac05e reduces the noise of #451 by waiting 20 seconds for the second bleep if many messages come at once. 2019-01-22 15:25:28 +01:00
B. Petersen defac037de rework strings 2018-12-12 17:55:08 +01:00
B. Petersen 983ee6bb80 remove TextSecurePreferences to Prefs which is more handy and has no branding 2018-11-28 16:52:04 +01:00
B. Petersen fce4a4267a allow chat-specific ringtones and vibrations 2018-11-28 01:32:14 +01:00
B. Petersen 126b730f7e allow muting chats and show the state, closes #146 2018-11-27 23:58:07 +01:00
B. Petersen c0e365d2c7 remove dead code 2018-11-27 23:30:31 +01:00
B. Petersen ffe0f2b22d remove KeyCachingService completely 2018-11-26 22:09:28 +01:00
B. Petersen b379dafbb5 remove sleep() dependecy to org.whispersystems:signal-service-android, tackles #138 2018-11-25 23:48:08 +01:00
Angelo Fuchs 50e22ddcc9 changing the display for multi-sender notifications for groups #128 2018-11-19 15:23:14 +01:00
Angelo Fuchs 7b2ef54922 notifications are now updated when a chat is seen #128 2018-11-19 11:22:27 +01:00
Angelo Fuchs 313e67fa57 multiple different senders in a chat are now distinguished #128 2018-11-15 12:13:41 +01:00
B. Petersen 1f4ccc2944 rework MessageRetrievalService into KeepAliveService 2018-11-14 17:12:59 +01:00
B. Petersen fd2e034f13 webrtc: remove dependency from MessageNotifier 2018-11-14 14:01:01 +01:00
Angelo Fuchs 3ef1650b51 only produce a notification if something new happens, not if something gets noticed. #117 2018-11-13 14:39:27 +01:00
Angelo Fuchs df494a49a8 some cleanup, no functional change. 2018-11-04 14:16:53 +02:00
Angelo Fuchs 564b837d93 activating signalling (sound and vibration) for #32 2018-11-04 13:57:44 +02:00
Angelo Fuchs d4f1af7521 for #32 (notifications) the type of thread id in ConversationActivity is now int (not long). Where its too hard, I added a cast and a todo. 2018-11-01 21:22:13 +02:00
Angelo Fuchs 5a9220356c notifications for new messages are displayed and hidden appropriately #32 2018-10-31 14:01:40 +02:00
B. Petersen 50b18b7d65 remove now redundant ConversationActivity.ADDRESS_EXTRA 2018-10-21 14:15:55 +02:00
B. Petersen b1a00a03d2 Initial commit 🌱 2018-08-14 17:20:46 +02:00