mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-10 08:00:57 +00:00
remove to set KEY_ROOM_ONE_TO_ONE twice
it's set in proceedToCall() Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
79a8c16758
commit
49c9b3c3e0
@ -176,7 +176,6 @@ class CallNotificationActivity : CallBaseActivity() {
|
|||||||
binding!!.callAnswerVoiceOnlyView.setOnClickListener {
|
binding!!.callAnswerVoiceOnlyView.setOnClickListener {
|
||||||
Log.d(TAG, "accept call (voice only)")
|
Log.d(TAG, "accept call (voice only)")
|
||||||
intent.putExtra(KEY_CALL_VOICE_ONLY, true)
|
intent.putExtra(KEY_CALL_VOICE_ONLY, true)
|
||||||
intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall)
|
|
||||||
proceedToCall()
|
proceedToCall()
|
||||||
}
|
}
|
||||||
binding!!.callAnswerCameraView.setOnClickListener {
|
binding!!.callAnswerCameraView.setOnClickListener {
|
||||||
@ -199,9 +198,7 @@ class CallNotificationActivity : CallBaseActivity() {
|
|||||||
startActivity(callIntent)
|
startActivity(callIntent)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun isInCallWithVideo(callFlag: Int): Boolean {
|
private fun isInCallWithVideo(callFlag: Int): Boolean = (callFlag and Participant.InCallFlags.WITH_VIDEO) > 0
|
||||||
return (callFlag and Participant.InCallFlags.WITH_VIDEO) > 0
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onStop() {
|
override fun onStop() {
|
||||||
val notificationManager = NotificationManagerCompat.from(context)
|
val notificationManager = NotificationManagerCompat.from(context)
|
||||||
|
Loading…
Reference in New Issue
Block a user