Commit graph

278 commits

Author SHA1 Message Date
Sylvain Berfini
02cbb45de9 Trying to prevent another race condition in notifications manager leading to foreground service not being started before being stopped 2025-05-16 09:11:38 +02:00
Sylvain Berfini
1a813ee11e Prevent crash due to uncaught exception 2025-04-29 09:33:38 +02:00
Sylvain Berfini
e5cec2d45c Another attempt at fixing crashes related to in-call service never truly started as foreground before being stopped 2025-04-28 16:06:09 +02:00
Sylvain Berfini
cd35f213c1 Fixed crash due to missing foreground service if OS denies call notification until foreground Service was started + fixed crash if call is ended before CoreInCallService was started and foreground service notification sent 2025-04-18 09:53:57 +02:00
Sylvain Berfini
51d725c757 Quick code cleanup 2025-04-10 13:24:10 +02:00
Sylvain Berfini
a5872ef8de Set default values for notification channels, do not rely only on importance level 2025-04-02 15:15:09 +02:00
Sylvain Berfini
23810e41e5 Forgot to change some of POST_NOTIFICATIONS checks 2025-03-31 09:26:22 +02:00
Sylvain Berfini
2621eb306e Added content message to keep app alive foreground service notification 2025-03-26 16:21:55 +01:00
Sylvain Berfini
c6fa645f94 Fixed invisible conference notification icon 2025-03-24 11:39:03 +01:00
Sylvain Berfini
fb3feb0bc3 This should prevent crashes on Androids < 13 due to broken POST_NOTIFICATIONS permission check 2025-03-24 11:33:00 +01:00
Sylvain Berfini
a83f9d4424 Moved call related advanced settings to dedicated sub-section, added back auto answer 2025-03-21 08:54:17 +01:00
Sylvain Berfini
e16e767d5a Fixed wrong deleted notification channel ID... 2025-03-18 12:34:22 +01:00
Sylvain Berfini
2a5b5d368c Revert using notification channel to play incoming calls ringtone 2025-03-18 10:50:53 +01:00
Sylvain Berfini
d6c6de2b5e Wait for foreground service to be started before being stopped to try preventing ForegroundServiceDidNotStartInTimeException/RemoteServiceException due to Context.startForegroundService() did not then call Service.startForeground() 2025-03-17 17:37:43 +01:00
Sylvain Berfini
915a847083 Prevent crash due to service being started as foreground if post_notifications permission isn't granted 2025-03-17 17:37:43 +01:00
Sylvain Berfini
b23f52adec Prevent system call notification to be stuck if call was ended in Linphone SDK before being added to TelecomManager's 2025-03-17 11:58:02 +01:00
Sylvain Berfini
dca10c9b2a Keep SRTP as default media encryption for now, update active call notification channel importance from default to low 2025-03-11 10:12:39 +01:00
Sylvain Berfini
fb323a4606 Do not play sound for currently displayed conversation if message is outgoing or read 2025-03-03 14:39:40 +01:00
Sylvain Berfini
01c079440d Do not follow telecom manager audio routing requests if not connected to Android Auto and concerns Speaker or Earpiece 2025-02-26 11:21:14 +01:00
Sylvain Berfini
a392cf3a6b Prevent crash first time app is installed due to chat message notification sound not installed yet 2025-02-25 19:27:16 +01:00
Sylvain Berfini
fcd365ad81 Play incoming chat sound file when a message is being received in currently opened conversation 2025-02-25 11:29:23 +01:00
Sylvain Berfini
17511a4c26 Refactored app to use chatRoom.identifier from SDK instead of computing it from local & peer address 2025-02-17 15:23:10 +00:00
Sylvain Berfini
2ed4f44e50 Fixed group call missed notification & in-call alert titles 2025-02-03 14:01:30 +01:00
Sylvain Berfini
1ead4d9218 Use call's startdate for system notification timestamp 2025-01-22 11:09:19 +01:00
Sylvain Berfini
2ba54f085d Make sure foreground services notifications ID are re-set when service is destroyed 2025-01-15 10:22:27 +01:00
Sylvain Berfini
e7f888ad78 Forgot to set the call notification color (setColorized is set to true) 2025-01-09 10:00:36 +01:00
Sylvain Berfini
967fb0563d Prevent outgoing calls to be routed on speaker while ringing 2024-12-16 14:36:52 +01:00
Sylvain Berfini
4304552bc8 Updated Ktlint 2024-12-10 12:20:52 +01:00
Sylvain Berfini
40541d3316 Update contact when discovered later in call views, try to prevent incoming call notification to be visible when already in incoming call fragment 2024-11-26 13:34:00 +01:00
Sylvain Berfini
213e62d125 Added remote contact directory lookup if friend isn't found locally 2024-11-25 10:11:52 +01:00
Sylvain Berfini
eb80a16202 Prevent being stuck in full screen mode without video 2024-11-14 12:44:43 +01:00
Sylvain Berfini
c88917ac68 Improved & fixed issues regarding incoming video call notification 2024-11-05 16:33:25 +01:00
Sylvain Berfini
257352927d Migrated deprecated chat room & conference scheduler APIs 2024-10-22 17:00:05 +02:00
Sylvain Berfini
10c68a2c28 Fixed another foreground service not started crash 2024-10-01 15:56:55 +02:00
Sylvain Berfini
fe2a074d0b Fixed foreground service notification lookup 2024-09-30 10:57:25 +02:00
Sylvain Berfini
eaa498f1ad Fix regarding in-call foreground service notification & other accounts notifications alert 2024-09-30 10:02:11 +02:00
Sylvain Berfini
6c22b1f66d Added mark as read when dismissing message notif setting 2024-09-05 10:22:15 +02:00
Sylvain Berfini
94f2c1cc98 Fixed text message description not being italic for some parts + improved description: added duration to voice message & replaced file name by image emoji for pictures 2024-08-26 17:13:19 +02:00
Sylvain Berfini
fdee7e618e Added min car level API to Manifest just in case 2024-08-12 11:52:41 +02:00
Sylvain Berfini
51d9b18c1c Added missing foreground service notification for outgoing call 2024-08-08 19:47:13 +02:00
Sylvain Berfini
8e588bf800 Added missing pending intent for keep alive service 2024-08-06 16:15:16 +02:00
Sylvain Berfini
515b645b89 Using call.callLog.remoteAddress() instead of call.remoteAddress() to have Address' displayName use P-Asserted-Identity info if available 2024-07-15 16:12:05 +02:00
Sylvain Berfini
87bfe5b6c4 Renaming a few things to make it better understandable 2024-07-15 16:10:44 +02:00
Sylvain Berfini
aab5863b57 Reworked Core startup & configuration 2024-07-15 16:10:44 +02:00
Sylvain Berfini
87153679a3 No longer need to remove reply action from message notification 2024-07-15 16:10:44 +02:00
Sylvain Berfini
8f4c5bdc61 Getting rid of dataSync foreground service type for keeping app alive in background as it won't work more than 6h a day starting Android 15 2024-07-15 16:10:44 +02:00
Sylvain Berfini
1741ed5fe5 Fixed clicking message notification not going into conversation 2024-07-15 16:10:44 +02:00
Sylvain Berfini
6856a399c5 Updated meeting icon, now using video_conference from phosphoricons 2024-07-15 16:10:42 +02:00
Sylvain Berfini
502c7f9fc1 Fixed crash in NotificationBroadcastReceiver if coreContext isn't created when intent is received 2024-07-15 16:10:42 +02:00
Sylvain Berfini
498b8435bf Hide contact's devices & trust for third party accounts 2024-07-15 16:10:42 +02:00