mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-18 06:32:08 +03:00
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
e5789c0cf6
commit
de637871a6
3 changed files with 3 additions and 4 deletions
|
@ -682,7 +682,7 @@ class CallActivity : CallBaseActivity() {
|
||||||
binding!!.hangupButton.setOnClickListener {
|
binding!!.hangupButton.setOnClickListener {
|
||||||
showPopupMenu()
|
showPopupMenu()
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
if (isModerator) {
|
if (isModerator) {
|
||||||
binding!!.hangupButton.setOnLongClickListener {
|
binding!!.hangupButton.setOnLongClickListener {
|
||||||
showPopupMenu()
|
showPopupMenu()
|
||||||
|
|
|
@ -176,7 +176,7 @@ 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)
|
intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall)
|
||||||
proceedToCall()
|
proceedToCall()
|
||||||
}
|
}
|
||||||
binding!!.callAnswerCameraView.setOnClickListener {
|
binding!!.callAnswerCameraView.setOnClickListener {
|
||||||
|
@ -194,7 +194,7 @@ class CallNotificationActivity : CallBaseActivity() {
|
||||||
|
|
||||||
private fun proceedToCall() {
|
private fun proceedToCall() {
|
||||||
val callIntent = Intent(this, CallActivity::class.java)
|
val callIntent = Intent(this, CallActivity::class.java)
|
||||||
intent.putExtra(KEY_ROOM_ONE_TO_ONE,isOneToOneCall)
|
intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall)
|
||||||
callIntent.putExtras(intent.extras!!)
|
callIntent.putExtras(intent.extras!!)
|
||||||
startActivity(callIntent)
|
startActivity(callIntent)
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,6 @@ class NotificationWorker(context: Context, workerParams: WorkerParameters) : Wor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun handleCallPushMessage() {
|
private fun handleCallPushMessage() {
|
||||||
val userBeingCalled = userManager.getUserWithId(signatureVerification.user!!.id!!).blockingGet()
|
val userBeingCalled = userManager.getUserWithId(signatureVerification.user!!.id!!).blockingGet()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue