mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 16:25:05 +01:00
Adjust mic listening location
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
77422e304a
commit
059deb92e7
@ -2262,6 +2262,7 @@ class CallController(args: Bundle) : BaseController() {
|
|||||||
}
|
}
|
||||||
CallController.CallStatus.IN_CONVERSATION -> handler!!.post {
|
CallController.CallStatus.IN_CONVERSATION -> handler!!.post {
|
||||||
stopCallingSound()
|
stopCallingSound()
|
||||||
|
startListening()
|
||||||
|
|
||||||
if (!isPTTActive) {
|
if (!isPTTActive) {
|
||||||
animateCallControls(false, 5000)
|
animateCallControls(false, 5000)
|
||||||
@ -2337,7 +2338,6 @@ class CallController(args: Bundle) : BaseController() {
|
|||||||
|
|
||||||
private fun playCallingSound() {
|
private fun playCallingSound() {
|
||||||
stopCallingSound()
|
stopCallingSound()
|
||||||
startListening()
|
|
||||||
val ringtoneUri = Uri.parse(
|
val ringtoneUri = Uri.parse(
|
||||||
"android.resource://"
|
"android.resource://"
|
||||||
+ applicationContext!!.packageName
|
+ applicationContext!!.packageName
|
||||||
|
Loading…
Reference in New Issue
Block a user