renaming some functions and variables

This commit is contained in:
tibbi
2022-10-28 15:59:02 +02:00
parent 674f259d5b
commit 3989eca8e8
2 changed files with 9 additions and 9 deletions

View File

@ -12,11 +12,11 @@ class CameraXInitializer(private val activity: BaseSimpleActivity) {
previewView: PreviewView,
listener: CameraXPreviewListener,
outputUri: Uri?,
is3rdPartyIntent: Boolean,
isThirdPartyIntent: Boolean,
initInPhotoMode: Boolean,
): CameraXPreview {
val cameraErrorHandler = newCameraErrorHandler()
val mediaOutputHelper = newMediaOutputHelper(cameraErrorHandler, outputUri, is3rdPartyIntent)
val mediaOutputHelper = newMediaOutputHelper(cameraErrorHandler, outputUri, isThirdPartyIntent)
return CameraXPreview(
activity,
previewView,
@ -30,13 +30,13 @@ class CameraXInitializer(private val activity: BaseSimpleActivity) {
private fun newMediaOutputHelper(
cameraErrorHandler: CameraErrorHandler,
outputUri: Uri?,
is3rdPartyIntent: Boolean,
isThirdPartyIntent: Boolean,
): MediaOutputHelper {
return MediaOutputHelper(
activity,
cameraErrorHandler,
outputUri,
is3rdPartyIntent,
isThirdPartyIntent,
)
}