needed on targetSDK >= 30 for microphone access. Without this, we cannot
access the microphone in dialer integration mode since we are not the
foreground app.
f62e9f1
Merge branch 'master' of github.com:iNPUTmice/Conversations
Click to expand commit body
* 'master' of github.com:iNPUTmice/Conversations:
pulled translations from transifex
catch security exception when importing backup
pulled translations from transifex
bump libraries
show jid only for incoming calls during ringing
version bump to 2.10.3-beta.2
Enable WebRTC-BindUsingInterfaceName/Enabled/
pulled translations from transifex
be smarter about what files can be deleted
use libwebrtc m99
allow deletion of all files
437002d
ConnectionService: handle disconnected state correctly
Click to expand commit body
onDisconnect() will only be called when the user manually requests a
disconnect. When the call is disconnected by the rtp connection itself,
the call won't be cleaned up and the system will be stuck in an in-call
state. Handle this correctly by moving the clean-up code to a close()
function, and calling that function instead when we disconnect.
Note that we cannot call the cleanup routine destroy() from the
onStateChanged() function, because it seems that this triggers a
deadlock somewhere down the line, probably in the calling
account-related telephony code. Doing a close() function mirrors what is
done in the default TelephonyConnection implementation for RIL-based
calls.
* Fix a few potential errors due to the use of newer APIs (minSDK is
still only 24)
* Fix one remaining case of raw usage of generic types.
Peter Cai
created
788818f
ConnectionService: Dialer UI integration for incoming calls
Click to expand commit body
For incoming calls, we fall back to the built-in call UI if the
microphone permission is not granted. The reason is that if the Dialer
UI is displayed over keyguard, then the user may not even be able to see
the notification that we show in order for them to grant the permission.
Having a small annoyance for the first incoming call is better than
having the in-call UI hang.
Peter Cai
created
b218b57
ConnectionService: fix unchecked type assignments
Peter Cai
created
7731a86
catch security exception when importing backup
Daniel Gultsch
created
e02dee8
Bad number can also cause IllegalArgumentException
bb1e1a8
Close socks5 connection when done sending data
Click to expand commit body
Sometimes even in Conversations-to-Conversations I see symptoms like receiver
says 99% done, sender says 100% done, hangs like that and then file transfer
fails.
I was having this issue fairly reliably between my emulator and my test device.
Adding this close caused the transfer to succeed 100% of the time. I'm not sure
why the receiver didn't read all the data properly without the close, but this
fixes it.