Upgrade CameraX to 1.1.0-alpha04 (#128)
* Upgrade CameraX to 1.1.0-alpha4 * Upgrade Kotlin to 1.4.32 * Suppress `UnsafeOptInUsageError` CameraSelector override * Suppress `UnsafeOptInUsageError` for takePhoto * Suppress `MissingPermission` for recordVideo * Remove unreported lint suppressions
This commit is contained in:
@@ -212,7 +212,7 @@ class CameraView(context: Context) : FrameLayout(context), LifecycleOwner {
|
||||
/**
|
||||
* Configures the camera capture session. This should only be called when the camera device changes.
|
||||
*/
|
||||
@SuppressLint("UnsafeExperimentalUsageError", "RestrictedApi")
|
||||
@SuppressLint("RestrictedApi")
|
||||
private suspend fun configureSession() {
|
||||
try {
|
||||
val startTime = System.currentTimeMillis()
|
||||
|
||||
Reference in New Issue
Block a user