Commit graph

9869 commits

Author SHA1 Message Date
Daniel Gultsch
8fca25d3a3 log reason for SM resume failure
(cherry picked from commit 6f8d8b9330f86392e6645eda7041cf077c4bc371)
2024-06-09 23:49:30 +02:00
Stephen Paul Weber
176d57423c Fix NPE
(cherry picked from commit 6defd00b67eae4dabb44376734b5a61b8cca19c2)
2024-06-09 23:48:57 +02:00
Arne
73804da4e7 fix up 2024-06-09 23:48:29 +02:00
Daniel Gultsch
b68525b24d do not enforce main thread for getting audio devices
fixes #206

(cherry picked from commit bd2b9b414e1f4ca83fbc7fe55aa3527d09018226)
2024-06-09 23:38:38 +02:00
Daniel Gultsch
05f1d096bf work around dead system exception when querying active network 2024-06-09 23:38:31 +02:00
Daniel Gultsch
5e3b367be1 remove mic availability check
(cherry picked from commit 7eaad9842cf025f54e096ed56d9d9f44e8e2a6ea)
2024-06-09 23:36:31 +02:00
Daniel Gultsch
97c375f000 fix race condition accessing rtpSender
(cherry picked from commit ca1d8b4d1b3f4e77f56fe450f3759d40e9f9091a)
2024-06-09 23:36:27 +02:00
Daniel Gultsch
929a5437ef maintain phone accounts only for enabled accounts 2024-06-09 23:36:24 +02:00
Arne
d91862921c Fix missing string 2024-06-09 23:34:02 +02:00
Daniel Gultsch
00c7091efc show warning when call integration accounts exceed 10
(cherry picked from commit a04dc6e4ad6512912129604213ad7b077a816cd7)
2024-06-09 23:33:34 +02:00
Daniel Gultsch
433f7581a9 show speaker configuration during ACCEPTING
(cherry picked from commit d2d76322b9204224db54903c05b2dd192d121661)
2024-06-09 23:33:15 +02:00
Daniel Gultsch
c96805d2a3 send jmi finish alongside session terminate
(cherry picked from commit 18dea352b05622978422605b6408765e71ac78c2)
2024-06-09 23:33:11 +02:00
Daniel Gultsch
177da9603f skip automatic audio device selection when BT is available
(cherry picked from commit 21b8bf424a7488807358e7c0b56dd8c6de39faed)
2024-06-09 23:33:08 +02:00
Daniel Gultsch
f7a2621d59 react to onSilence() and stop ringtone
(cherry picked from commit a78747eaa275083cbd52159bc7bc2b0e55cb4bee)
2024-06-09 23:33:04 +02:00
Daniel Gultsch
5dc50bdf8b show speaker selection during 'ringing'
(cherry picked from commit bfe2aff7a158e767aad1a567f070a799690660b9)
2024-06-09 23:32:59 +02:00
Daniel Gultsch
18ad975615 do not nofiy UI if UI triggered retract
(cherry picked from commit bff1ac5ebc0db303385166b83ae5181ca29a0d20)
2024-06-09 23:32:54 +02:00
Daniel Gultsch
220807f4da do not process JMI from offline queue as live messages
(cherry picked from commit 5158fc4530d9de249ed5eeb7e2f89fc1bd29a45d)
2024-06-09 23:32:44 +02:00
Daniel Gultsch
63e0b3fd20 trigger incoming call integration only for rtp connections
(cherry picked from commit ef5508e5b1ea3c50adefe3264de574ab86f47a54)
2024-06-09 23:31:40 +02:00
Daniel Gultsch
bc6d5a1a99 add generator for JMI finish message
(cherry picked from commit b7da7f3367fc2b2e53f9eb5bf8b23f7710addef1)
2024-06-09 23:31:35 +02:00
Daniel Gultsch
8f33f28f36 add optional strict offline checking for calls
(cherry picked from commit 1090b2edd33b969cdae715f56c71aeace635dbf4)
2024-06-09 23:30:28 +02:00
Daniel Gultsch
4a797a1834 fix regression with screen not being put in right state
(cherry picked from commit d4225fcf32f9675e520f7ea056c66ff272215111)
2024-06-09 23:28:02 +02:00
Daniel Gultsch
a9e5d4ad83 play connected sound from sound file
(cherry picked from commit 7f9d836f1a2df2af4346675d32028a0760111ee2)
2024-06-09 23:27:58 +02:00
Daniel Gultsch
fe15ef8213 get rid of ToneManager and play sounds in CallIntegration instead
CallIntegration takes care of audio routing so it makes sense to play
and sounds here too

(cherry picked from commit d31b24d05a2dd24373867819a9133e6e967a700b)
2024-06-09 23:27:21 +02:00
Daniel Gultsch
ea70ff089d add permission check to placeCall method 2024-06-09 23:24:21 +02:00
Daniel Gultsch
10498ac4b4 provide alternative method to create calls for Android <8
(cherry picked from commit 0ffc2958886691a8bafc45824e7c8c49d33ac55a)
2024-06-09 23:19:31 +02:00
Daniel Gultsch
bf424887df run some AppRTCAudioManager actions on main thread
(cherry picked from commit d79fc1bb790ef70476886167575349035f2ff9a0)
2024-06-09 23:19:26 +02:00
Daniel Gultsch
25ed3448ed switch audio device when switching to video
(cherry picked from commit 6ba9208eea5a12ecbaf8dcbeb6a0453e5ec5995a)
2024-06-09 23:19:23 +02:00
Daniel Gultsch
b0994a67d5 set correct video state for calls
(cherry picked from commit ebb48e9320d07459d898556e3f48fca786b7201b)
2024-06-09 23:19:19 +02:00
Daniel Gultsch
f92504e2ab hook into onAnswer/onReject of CallIntegration
the Operating System shows a notification on our behalf if there is currently
a call going on that can not be put on hold (For example a Quicksy call is going
on while a Conversations call is coming on)

(cherry picked from commit 6975299a28e7915c0f88e1e2f59f66eea7fae8bc)
2024-06-09 23:19:16 +02:00
Daniel Gultsch
24d9ea8c18 (un)register phone account on xmpp account creation/deletion
(cherry picked from commit f119c36bffa318ca16a78728120fbaf222aeef92)
2024-06-09 23:19:12 +02:00
Daniel Gultsch
3572832cf5 reformat debug info
(cherry picked from commit b9e4296321581f396af52e29e2eb3b340c88e73a)
2024-06-09 23:19:03 +02:00
Daniel Gultsch
b239ce0f17 update UI in case proposal gets retracted by system
(cherry picked from commit dfa389f61f3e6c04ad67098838ff9f8c0d6320e2)
2024-06-09 23:18:58 +02:00
Daniel Gultsch
4fb2bdcaee update UI with correct state after UI gets invoked with ACTION_VIEW
(cherry picked from commit a44ad6015dd60d255cd7a5a1000a7483d11769ea)
2024-06-09 23:18:24 +02:00
Daniel Gultsch
12810dce15 retract proposal when accepting other call
(cherry picked from commit d20cc87bda0b82ea8bf27c76dfdfbf4a93f31785)
2024-06-09 23:16:56 +02:00
Arne
74815d8823 add Config flag to debug direct call init + upstream JMI 2024-06-09 23:16:51 +02:00
Daniel Gultsch
f5f44f29ba use call integration via MANAGE_OWN_CALLS 2024-06-09 22:57:44 +02:00
Stephen Paul Weber
cece2f890d code clean up 2024-06-09 21:55:18 +02:00
Arne
e5e8a5cde0 change menu position for mute local 2024-06-09 21:49:59 +02:00
Stephen Paul Weber
b48f29587f Fix NPE 2024-06-09 16:53:19 +02:00
Stephen Paul Weber
843f763994 Suppress notify and preview from muted also 2024-06-09 16:50:10 +02:00
Arne
8ed883beef ignore 'subscribe' presence for blocked contacts 2024-06-09 16:39:47 +02:00
Arne
079316687c Correct "Track occupant ID and allow local muting" 2024-06-09 10:06:32 +02:00
Stephen Paul Weber
3d0d68830e Track occupant ID and allow local muting 2024-06-09 09:39:55 +02:00
Stephen Paul Weber
6b503bcfcc Log sim operator
(cherry picked from commit 1cb0bbe8781de987958e6b225871629d09f14cd5)
2024-06-09 09:11:29 +02:00
Daniel Gultsch
25d3ec7971 fixup: access Android_id only on push
(cherry picked from commit 33c63fb5627487b8a6b234ddff0b0475b5b1a8c1)
2024-06-09 09:09:50 +02:00
Daniel Gultsch
059c28dd35 access Android_id only on push 2024-06-09 09:04:56 +02:00
Arne
86595106f4 use modern Java in XmppConnection 2024-06-09 08:57:03 +02:00
Arne
ae6a9486cd catch exception when hardware renderer can not be set up 2024-06-09 08:54:42 +02:00
Stephen Paul Weber
b3e4cc6091 better work around for not processing race condition stanza 2024-06-09 08:52:07 +02:00
Arne
f14755131c update dependency 2024-06-08 13:39:24 +02:00