Arne
428daa6f08
update gradle and AGP
2024-06-10 08:37:18 +02:00
Daniel Gultsch
a4bdcd02a7
minor safeguard to ensure call integration ends
...
(cherry picked from commit f18ec53233b52240520bb88d186a8cbe9b6daedc)
2024-06-10 08:34:27 +02:00
Daniel Gultsch
1e5d649ae8
deliver session-initiate before integrating call
...
otherwise there could potentially be race conditions with
showIncomingCallUi being called before we have media information
(cherry picked from commit 6b5fb6fee6d8105db246804fb504267c0290c72b)
2024-06-10 08:34:23 +02:00
Daniel Gultsch
50a5951873
add safeguards to ringtone playing twice
2024-06-10 08:34:16 +02:00
Daniel Gultsch
56433c5ef8
channel discovery screen code clean up
2024-06-10 08:30:49 +02:00
Daniel Gultsch
e0c8481d80
catch exception when checking phone lock state
2024-06-10 08:28:57 +02:00
Daniel Gultsch
06571e89fe
fix system feature detection for call integration
2024-06-10 08:26:38 +02:00
Daniel Gultsch
81df0aa79b
treat delayed destruction call integration as busy
...
(cherry picked from commit 72d194d8ffd2f3f56ca1e6c175426e2560b83a43)
2024-06-10 08:24:42 +02:00
Daniel Gultsch
183e639b89
ensure that jingle ft transport is terminated
...
(cherry picked from commit a2c67a6e383226253dcc5749a6b8aaf10bd997a7)
2024-06-10 08:22:53 +02:00
Arne
c1b796b945
add FAST to doap file
2024-06-10 08:21:26 +02:00
Daniel Gultsch
d026af6125
do not attempt unique/exporter channel binding on non conscrypt sockets
...
(cherry picked from commit 9ad5b68d572f1dd6789dc1a02d9d7ab27a34f8ae)
2024-06-10 08:20:28 +02:00
Daniel Gultsch
bd3bab6786
fix return to call
2024-06-10 08:18:00 +02:00
Daniel Gultsch
702cc76d0b
do not use call integration on devices w/o telephony support
...
(cherry picked from commit 71763902f82743cbe9fa37d38551826531376fb1)
2024-06-10 08:16:26 +02:00
Arne
c94a1c1753
add exported to manifest
2024-06-10 08:16:19 +02:00
Daniel Gultsch
1eadadeb5a
play ringback sound on android 6/7
...
(cherry picked from commit 20e1f542779b1c9027449e4e9875814e2f0fa05a)
2024-06-10 08:10:00 +02:00
Daniel Gultsch
34eb7eefa3
null check SurfaceTextureHelper
...
(cherry picked from commit 29978a0f2a127223260db1b37420bed9b5e97e9a)
2024-06-10 08:09:34 +02:00
Daniel Gultsch
8770bb446e
execute all account state managements on ping thread
2024-06-10 08:06:02 +02:00
Daniel Gultsch
7990887459
prevent receiving (as share with target) file URIs
2024-06-10 08:02:39 +02:00
Arne
eff3b2a241
Fix up
2024-06-09 23:54:05 +02:00
Stephen Paul Weber
db9d5bd8b9
Fix NPE
2024-06-09 23:50:27 +02:00
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