fix package names to reflect actual folder path

This commit is contained in:
Marc Rousavy 2021-02-19 20:43:30 +01:00
parent d6a0e509a7
commit d06b27782c
8 changed files with 11 additions and 12 deletions

View File

@ -2,8 +2,7 @@ package com.mrousavy.camera
import android.annotation.SuppressLint import android.annotation.SuppressLint
import androidx.camera.core.VideoCapture import androidx.camera.core.VideoCapture
import com.cuvent.experiences.friends.camera.utils.makeErrorMap import com.mrousavy.camera.utils.makeErrorMap
import com.cuvent.experiences.friends.camera.utils.withSuspendablePromise
import com.facebook.react.bridge.* import com.facebook.react.bridge.*
import kotlinx.coroutines.* import kotlinx.coroutines.*
import java.io.File import java.io.File

View File

@ -7,7 +7,7 @@ import androidx.camera.camera2.interop.Camera2CameraInfo
import androidx.camera.core.ImageCapture import androidx.camera.core.ImageCapture
import androidx.camera.core.ImageProxy import androidx.camera.core.ImageProxy
import androidx.exifinterface.media.ExifInterface import androidx.exifinterface.media.ExifInterface
import com.cuvent.experiences.friends.camera.utils.* import com.mrousavy.camera.utils.*
import com.facebook.react.bridge.Arguments import com.facebook.react.bridge.Arguments
import com.facebook.react.bridge.ReadableMap import com.facebook.react.bridge.ReadableMap
import com.facebook.react.bridge.WritableMap import com.facebook.react.bridge.WritableMap

View File

@ -2,7 +2,7 @@ package com.mrousavy.camera
import android.graphics.Bitmap import android.graphics.Bitmap
import androidx.exifinterface.media.ExifInterface import androidx.exifinterface.media.ExifInterface
import com.cuvent.experiences.friends.camera.utils.buildMetadataMap import com.mrousavy.camera.utils.buildMetadataMap
import com.facebook.react.bridge.Arguments import com.facebook.react.bridge.Arguments
import com.facebook.react.bridge.ReadableMap import com.facebook.react.bridge.ReadableMap
import com.facebook.react.bridge.WritableMap import com.facebook.react.bridge.WritableMap

View File

@ -20,7 +20,7 @@ import androidx.camera.extensions.NightPreviewExtender
import androidx.camera.view.PreviewView import androidx.camera.view.PreviewView
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import androidx.lifecycle.* import androidx.lifecycle.*
import com.cuvent.experiences.friends.camera.utils.* import com.mrousavy.camera.utils.*
import com.facebook.react.bridge.* import com.facebook.react.bridge.*
import com.facebook.react.uimanager.events.RCTEventEmitter import com.facebook.react.uimanager.events.RCTEventEmitter
import kotlinx.coroutines.* import kotlinx.coroutines.*

View File

@ -16,8 +16,8 @@ import androidx.camera.core.MeteringPointFactory
import androidx.camera.extensions.HdrImageCaptureExtender import androidx.camera.extensions.HdrImageCaptureExtender
import androidx.camera.extensions.NightImageCaptureExtender import androidx.camera.extensions.NightImageCaptureExtender
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import com.cuvent.experiences.friends.camera.parsers.* import com.mrousavy.camera.parsers.*
import com.cuvent.experiences.friends.camera.utils.* import com.mrousavy.camera.utils.*
import com.facebook.react.bridge.* import com.facebook.react.bridge.*
import com.facebook.react.modules.core.PermissionAwareActivity import com.facebook.react.modules.core.PermissionAwareActivity
import com.facebook.react.modules.core.PermissionListener import com.facebook.react.modules.core.PermissionListener

View File

@ -2,8 +2,8 @@ package com.mrousavy.camera.utils
import android.hardware.camera2.CameraCharacteristics import android.hardware.camera2.CameraCharacteristics
import android.util.Size import android.util.Size
import com.cuvent.experiences.friends.camera.parsers.bigger import com.mrousavy.camera.parsers.bigger
import com.cuvent.experiences.friends.camera.parsers.parseLensFacing import com.mrousavy.camera.parsers.parseLensFacing
import com.facebook.react.bridge.Arguments import com.facebook.react.bridge.Arguments
import com.facebook.react.bridge.ReadableArray import com.facebook.react.bridge.ReadableArray
import kotlin.math.PI import kotlin.math.PI

View File

@ -4,7 +4,7 @@ import android.annotation.SuppressLint
import android.graphics.BitmapFactory import android.graphics.BitmapFactory
import android.graphics.ImageFormat import android.graphics.ImageFormat
import androidx.camera.core.ImageProxy import androidx.camera.core.ImageProxy
import com.cuvent.experiences.friends.camera.InvalidFormatError import com.mrousavy.camera.InvalidFormatError
import java.io.File import java.io.File
import java.io.FileOutputStream import java.io.FileOutputStream
import java.nio.ByteBuffer import java.nio.ByteBuffer

View File

@ -1,7 +1,7 @@
package com.mrousavy.camera.utils package com.mrousavy.camera.utils
import com.cuvent.experiences.friends.camera.CameraError import com.mrousavy.camera.CameraError
import com.cuvent.experiences.friends.camera.UnknownCameraError import com.mrousavy.camera.UnknownCameraError
import com.facebook.react.bridge.Promise import com.facebook.react.bridge.Promise
inline fun withPromise(promise: Promise, closure: () -> Any?) { inline fun withPromise(promise: Promise, closure: () -> Any?) {