mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
ktlint
This commit is contained in:
parent
18408377e4
commit
0571662fe7
2 changed files with 0 additions and 3 deletions
|
@ -476,7 +476,6 @@ class WebRtcCall(val mxCall: MxCall,
|
||||||
|
|
||||||
if (camera != null) {
|
if (camera != null) {
|
||||||
val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() {
|
val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() {
|
||||||
|
|
||||||
override fun onFirstFrameAvailable() {
|
override fun onFirstFrameAvailable() {
|
||||||
super.onFirstFrameAvailable()
|
super.onFirstFrameAvailable()
|
||||||
videoCapturerIsInError = false
|
videoCapturerIsInError = false
|
||||||
|
@ -490,7 +489,6 @@ class WebRtcCall(val mxCall: MxCall,
|
||||||
videoCapturerIsInError = true
|
videoCapturerIsInError = true
|
||||||
val cameraManager = context.getSystemService<CameraManager>()
|
val cameraManager = context.getSystemService<CameraManager>()
|
||||||
cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() {
|
cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() {
|
||||||
|
|
||||||
override fun onCameraUnavailable(cameraId: String) {
|
override fun onCameraUnavailable(cameraId: String) {
|
||||||
super.onCameraUnavailable(cameraId)
|
super.onCameraUnavailable(cameraId)
|
||||||
Timber.v("On camera unavailable: $cameraId")
|
Timber.v("On camera unavailable: $cameraId")
|
||||||
|
|
|
@ -41,7 +41,6 @@ import im.vector.app.core.utils.toast
|
||||||
import im.vector.app.databinding.FragmentRoomSettingGenericBinding
|
import im.vector.app.databinding.FragmentRoomSettingGenericBinding
|
||||||
import im.vector.app.features.home.AvatarRenderer
|
import im.vector.app.features.home.AvatarRenderer
|
||||||
import im.vector.app.features.roomprofile.RoomProfileArgs
|
import im.vector.app.features.roomprofile.RoomProfileArgs
|
||||||
import im.vector.app.features.roomprofile.RoomProfileSharedAction
|
|
||||||
import im.vector.app.features.roomprofile.RoomProfileSharedActionViewModel
|
import im.vector.app.features.roomprofile.RoomProfileSharedActionViewModel
|
||||||
import im.vector.app.features.roomprofile.settings.historyvisibility.RoomHistoryVisibilitySharedActionViewModel
|
import im.vector.app.features.roomprofile.settings.historyvisibility.RoomHistoryVisibilitySharedActionViewModel
|
||||||
import im.vector.app.features.roomprofile.settings.historyvisibility.RoomHistoryVisibilityBottomSheet
|
import im.vector.app.features.roomprofile.settings.historyvisibility.RoomHistoryVisibilityBottomSheet
|
||||||
|
|
Loading…
Reference in a new issue